Commit Graph

175 Commits

Author SHA1 Message Date
Stefano Sanfilippo a25e1697cd Alternate spelling for ASSIGN 2014-11-23 22:18:19 +01:00
Stefano Sanfilippo fd373c390a Fix var initialization. 2014-11-23 22:07:55 +01:00
Stefano Sanfilippo 42c46c0648 No DOT after END_ASSERT. 2014-11-23 22:07:43 +01:00
Stefano Sanfilippo 1147af9eda Handle shift operator at syntactic level. 2014-11-23 22:06:37 +01:00
Stefano Sanfilippo 0a6c350ba1 Stripping stray article in token. 2014-11-23 22:06:11 +01:00
Stefano Sanfilippo 558f5712d6 Removing alias for 2. 2014-11-23 22:05:59 +01:00
Stefano Sanfilippo af77bb1c3c Add missing semicolon. 2014-11-23 20:48:23 +01:00
Stefano Sanfilippo 92a6ea5a59 Fix assign statement. 2014-11-23 20:47:52 +01:00
Stefano Sanfilippo 2aef8dbeec Allow semi expressions in branch conditions. 2014-11-23 20:47:39 +01:00
Stefano Sanfilippo 613599a7d9 Fix var declaration. 2014-11-23 20:47:18 +01:00
Stefano Sanfilippo 49893a04a0 Pointer dereference through operator STAR. 2014-11-23 20:46:58 +01:00
Stefano Sanfilippo 5e719dbadf Immediately terminate parsing in case of error. 2014-11-23 20:46:35 +01:00
Stefano Sanfilippo 95087c6e7e No more newlines (use . DOT as delimiter). 2014-11-23 20:45:44 +01:00
Stefano Sanfilippo d86f72eec3 Text alias for number 2. 2014-11-23 20:44:16 +01:00
Stefano Sanfilippo 298f2b115c Using a phrase instead of dots as CASE_END. 2014-11-23 20:43:57 +01:00
Stefano Sanfilippo 53037798a4 Article is not part of the keyword. 2014-11-23 20:43:42 +01:00
Stefano Sanfilippo e67ece7aab Comments can now be placed also at ending of line. 2014-11-23 20:43:28 +01:00
Stefano Sanfilippo 701e06b781 Newline after function definition. 2014-11-23 19:30:30 +01:00
Stefano Sanfilippo 03d40b0ad6 Statements can be empty. 2014-11-23 19:29:48 +01:00
Stefano Sanfilippo d9f3d6f06a Fix conflicts by introducing a CASE_END token. 2014-11-23 19:24:10 +01:00
Stefano Sanfilippo 2da9bdbb79 Args are already nullable in function call. 2014-11-23 19:21:12 +01:00
Stefano Sanfilippo 386bf40374 Any expression can be case condition. 2014-11-23 19:20:53 +01:00
Stefano Sanfilippo c7fec8c9e0 Clean up semantic rules. 2014-11-23 19:20:10 +01:00
Stefano Sanfilippo 573a94def6 Factor NEWLINE at statement level. 2014-11-23 19:12:48 +01:00
Stefano Sanfilippo 65b38e33c2 Initial commit. Grammar has some conflicts, no rules. 2014-11-23 19:04:25 +01:00