Uncategorized

Parsing

Image

For the past month, we’ve been trying (meekly) to create a parsing, lexing and fictitious meta-language. The point of which (presumably) is to inculcate into us the complexity of building a Computer Language. My problem so far is the fluctuating nature of the results. Apparently inserting an integer parsing statement sends the program into a fritz.

Furthermore, what is the difference between  an enum and String statement? I’ve used the stringname.equals() command but there is no result! I’ve comprehended how to make the “parser” by just comparing the result of the lexer to the required arrangement. Thank the gods it’s just string and integer statements.

 

 

As to how I’ll transform the commands into an actual language, Aba malay!

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s