Max Brunsfeld
|
3cd031af38
|
Add keypattern rule helper
This way, pattern rules (e.g. golang's comment) can be easily given the
same precedence as keyword rules.
|
2014-06-11 12:40:49 -07:00 |
|
Max Brunsfeld
|
174f306e2a
|
Fix precedence of comments vs '/' operator
|
2014-06-11 12:27:58 -07:00 |
|
Max Brunsfeld
|
4ad6278334
|
Add finally, instance of, typeof, in to js grammar
|
2014-06-11 11:49:06 -07:00 |
|
Max Brunsfeld
|
c91c5cb730
|
Add range statements to golang grammar
|
2014-06-10 14:11:25 -07:00 |
|
Max Brunsfeld
|
53bc633a22
|
Add var decl and if statements to golang grammar
|
2014-06-10 13:27:55 -07:00 |
|
Max Brunsfeld
|
1c93d5e1a6
|
Add declarations w/o initialization to golang grammar
|
2014-06-10 11:57:45 -07:00 |
|
Max Brunsfeld
|
123d3b26d8
|
Add more expressions, statements to golang grammar
|
2014-06-10 11:33:05 -07:00 |
|
Max Brunsfeld
|
54a555168d
|
Add accessor methods on Grammar
|
2014-06-09 21:05:25 -07:00 |
|
Max Brunsfeld
|
e93e254518
|
In lexer, prefer tokens to skipped separator characters
This was causing newlines in go and javascript to be parsed as
meaningless separator characters instead of statement terminators
|
2014-05-30 13:29:54 -07:00 |
|
Max Brunsfeld
|
4c9ac3dada
|
Fix parsing of empty strings in javascript and golang
|
2014-05-20 09:47:26 -07:00 |
|
Max Brunsfeld
|
4700e33746
|
Introduce 'ubiquitous_tokens' concept, for parsing comments and such
|
2014-05-06 12:54:04 -07:00 |
|
Max Brunsfeld
|
b9393b5c1a
|
Refactor grammar helper functions
|
2014-05-01 20:02:06 -07:00 |
|
Max Brunsfeld
|
b86203d205
|
Extract shared helper functions from example grammars
|
2014-04-27 21:45:05 -07:00 |
|
Max Brunsfeld
|
c2abfd2d03
|
Parse '.' in regexes
|
2014-04-24 13:21:46 -07:00 |
|
Max Brunsfeld
|
a79a7435de
|
Remove remaining trailing whitespace from generated c code
|
2014-03-29 19:21:42 -07:00 |
|
Max Brunsfeld
|
2cd595d81a
|
Clean up helper functions in example grammars
|
2014-03-29 19:02:00 -07:00 |
|
Max Brunsfeld
|
7c502e5b58
|
Fix ambiguity in golang grammar
|
2014-03-29 18:59:54 -07:00 |
|
Max Brunsfeld
|
7adb0bf34f
|
Add golang example grammar
Also, support '\a' character class shorthand in regexes,
for alphabetical characters
|
2014-03-29 16:29:34 -07:00 |
|