Commit Graph

33 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 52918751c4 Actually return false from eat() on error for reduce part 2013-08-26 16:12:51 +04:00
Vitaliy Filippov a5afc90b9b Return false from eat() on error and true on success 2013-04-20 14:59:49 +04:00
Vitaliy Filippov 8a53d5672c Better error messages 2013-04-20 14:59:16 +04:00
Vitaliy Filippov ab902b4ac6 Compress reduce rules 2013-04-20 14:58:25 +04:00
Vitaliy Filippov 1b4a4c6d5c Fix reference to ->errors 2013-04-20 14:07:16 +04:00
Vitaliy Filippov 4d36b778a9 Allow to use multi-character tokens 2013-04-20 14:06:54 +04:00
Richard van Velzen ddc9d8bf0a Make the %expect pragma work, and some general cleanup 2012-01-02 15:36:52 +01:00
Richard van Velzen d88047272e Moved passing of errors to the parser itself 2012-01-02 13:40:10 +01:00
Richard van Velzen acf176718d No more rule::prec, now just left_* and right_* 2012-01-02 13:04:57 +01:00
Richard van Velzen e19abf7e21 Whoops, forgot that one... 2012-01-02 13:00:21 +01:00
Richard van Velzen f669d69163 Made lime_scan_tokens.l somewhat more elegant to read 2012-01-02 12:59:35 +01:00
Richard van Velzen 6163fdac49 Typo 2012-01-02 12:56:43 +01:00
Richard van Velzen 79f30c5449 Added .gitignore 2012-01-02 12:55:44 +01:00
Richard van Velzen e68b476c09 The error token works now. 2011-12-31 15:02:06 +01:00
Richard van Velzen 1b7c30f7b8 Merge branch 'master' into ns 2011-12-31 11:32:27 +01:00
Richard van Velzen f4a75c0365 Just to be sure, never render non-digit token references 2011-12-31 11:32:23 +01:00
Richard van Velzen ef16fd5d09 Error messages can be more concise 2011-12-31 11:28:48 +01:00
Richard van Velzen 793d2a4d85 Added extra info to the output 2011-12-31 11:28:35 +01:00
Richard van Velzen 9715a068e9 Gzipped lemon.c, since I do not want github to think this is a C project 2011-12-31 11:13:05 +01:00
Richard van Velzen cdc11cf0eb If %token is not before a precedence marker, the description should still be set. 2011-12-29 23:25:55 +01:00
Richard van Velzen 170fc0d5f5 Integrated support for better error messages including token description 2011-12-29 22:37:30 +01:00
Richard van Velzen eddf5d0259 Some extra stuff. More pragmas, and better EOF message 2011-12-29 17:44:44 +01:00
Richard van Velzen cd0fcae035 Example stil needed some extra showing off 2011-12-29 14:22:03 +01:00
Richard van Velzen 41598e9840 Less braces in error messages 2011-12-29 14:12:08 +01:00
Richard van Velzen 1725a0cb66 Deleted HOWTO 2011-12-29 14:11:47 +01:00
Richard van Velzen bd859b6393 Updated example to show off the %prec inline pragma 2011-12-29 14:11:01 +01:00
Richard van Velzen 9ca1b6ef16 Of course, the code block has to be indented more 2011-12-29 13:11:38 +01:00
Richard van Velzen 00127ed53c Moved HOWTO to README 2011-12-29 13:09:52 +01:00
Richard van Velzen 6c257fc45b Added support for inline %prec definitions 2011-12-29 02:04:17 +01:00
Richard van Velzen 175b67c614 Cleaning up the code 2011-12-28 22:50:59 +01:00
Richard van Velzen 0e5a392f52 General cleanup of code 2011-12-28 01:00:14 +01:00
Richard van Velzen 3263341362 lime.php is now executable
Use as /path/to/lime source.lime
2011-12-27 22:30:10 +01:00
Richard van Velzen 6789f4c785 Initial commit 2011-12-27 22:23:38 +01:00