Max Brunsfeld
|
3a50171249
|
Expose all grammar compilation errors
|
2014-05-01 23:28:40 -07:00 |
|
Max Brunsfeld
|
93620b3ed1
|
Add keyword helper for making higher-priority string tokens
|
2014-05-01 13:25:20 -07:00 |
|
Max Brunsfeld
|
6d40dcf881
|
Add token helper for building token rules
Now you can specify the structure of tokens using
all of the rule functions, not just `str` and `pattern`
|
2014-05-01 12:43:29 -07:00 |
|
Max Brunsfeld
|
0d763d229d
|
cpplint
|
2014-04-28 21:46:43 -07:00 |
|
Max Brunsfeld
|
25eda9d889
|
ISymbol -> Symbol
Interned symbols are now the main type of symbol in use
|
2014-04-28 20:43:27 -07:00 |
|
Max Brunsfeld
|
faf80aadac
|
Symbol -> NamedSymbol
|
2014-04-28 20:15:49 -07:00 |
|
Max Brunsfeld
|
93df5579b4
|
Trim whitespace
|
2014-04-25 22:17:23 -07:00 |
|
Max Brunsfeld
|
68d44fd565
|
Intern symbols during grammar preparation
|
2014-04-22 23:38:26 -07:00 |
|
Max Brunsfeld
|
67243c7e2f
|
cpplint
|
2014-04-14 08:38:44 -07:00 |
|
Max Brunsfeld
|
53285f7d0c
|
Give rule-specific names to repeat helper rules
|
2014-04-09 18:41:43 -07:00 |
|
Max Brunsfeld
|
a5816a9624
|
Refactor rule visitors
|
2014-04-09 13:28:02 -07:00 |
|
Max Brunsfeld
|
5320cad065
|
Trim trailing whitespace
|
2014-04-04 13:10:55 -07:00 |
|
Max Brunsfeld
|
f39cb1890d
|
Refactor rule visitor objects
|
2014-04-01 13:38:02 -07:00 |
|
Max Brunsfeld
|
d7eca30e58
|
Fix travis-ci compile error in token extractor
|
2014-03-24 22:07:25 -07:00 |
|
Max Brunsfeld
|
48baf056b4
|
Store grammars' rules in vectors, not maps
This way, we can keep of the order in which the rules
were given, for resolving reduce/reduce conflicts.
|
2014-03-24 13:17:38 -07:00 |
|
Max Brunsfeld
|
50a90e456b
|
Handle * quantifier in regex patterns
|
2014-03-22 20:08:11 -07:00 |
|
Max Brunsfeld
|
a4120f36d4
|
Remove all uses of 'using namespace'
|
2014-03-09 22:45:33 -07:00 |
|
Max Brunsfeld
|
a411e43484
|
Rename source files: .cpp -> .cc
|
2014-03-09 22:13:08 -07:00 |
|
Max Brunsfeld
|
31a58bc7e4
|
Make include guards pass cpplint
|
2014-03-09 22:05:24 -07:00 |
|
Max Brunsfeld
|
eb30429700
|
Make paths explicit in #includes
|
2014-03-09 21:43:14 -07:00 |
|
Max Brunsfeld
|
39aa0ccc91
|
Add script to trim whitespace
|
2014-03-09 19:49:35 -07:00 |
|
Max Brunsfeld
|
e479773aac
|
Rename files to avoid duplicate basenames
|
2014-03-02 15:07:43 -08:00 |
|
Max Brunsfeld
|
4520d6e1a2
|
Remove unnecessary downcast in prepare_grammar::perform
|
2014-02-23 19:01:24 -08:00 |
|
Max Brunsfeld
|
2c30dce08e
|
Refactor rule visitors
|
2014-02-23 18:46:53 -08:00 |
|
Max Brunsfeld
|
713b3899c5
|
Simplify logic for extracting tokens from grammar
|
2014-02-23 10:00:49 -08:00 |
|
Max Brunsfeld
|
e87380a8b7
|
Make separate PreparedGrammar subclass of Grammar for internal use
|
2014-02-19 13:36:38 -08:00 |
|
Max Brunsfeld
|
acad97cfd2
|
Separate concepts of hidden and auxiliary symbols
This way, we can hide auxiliary symbols from library users,
but still allow them to use hidden symbols
|
2014-02-19 13:05:54 -08:00 |
|
Max Brunsfeld
|
2c56612650
|
Get makefile working
|
2014-02-18 09:07:00 -08:00 |
|
Max Brunsfeld
|
d09fa910ef
|
Put public headers in tree_sitter directory
|
2014-02-17 12:53:57 -08:00 |
|
Max Brunsfeld
|
9e2dc14182
|
Extract public compiler API into its own header file
|
2014-02-17 12:40:46 -08:00 |
|
Max Brunsfeld
|
5c1a0982df
|
Change repeat to mean zero-or-more
|
2014-02-15 15:43:32 -08:00 |
|
Max Brunsfeld
|
a77ca1ee08
|
Allow users to put their own auxiliary rules in grammars
|
2014-02-13 13:09:00 -08:00 |
|
Max Brunsfeld
|
812f27f43a
|
Clean up using statements
|
2014-02-12 23:06:26 -08:00 |
|
Max Brunsfeld
|
70173512f1
|
Don't extract isolated blanks from grammars into tokens
|
2014-02-12 18:31:57 -08:00 |
|
Max Brunsfeld
|
9a737e2316
|
Use map, not unordered_map in Grammar
|
2014-02-12 08:30:50 -08:00 |
|
Max Brunsfeld
|
fd0d77ef8b
|
Separate auxiliary rules from user-specified rules
|
2014-01-28 13:27:30 -08:00 |
|
Max Brunsfeld
|
19e5b2a563
|
Make token extraction work for repeat rules
|
2014-01-28 12:52:29 -08:00 |
|
Max Brunsfeld
|
3ca2e126be
|
Remove unnecessary public START and END constants
|
2014-01-25 21:34:46 -08:00 |
|
Max Brunsfeld
|
b85b15db42
|
Refactor extract tokens function
|
2014-01-24 23:41:43 -08:00 |
|
Max Brunsfeld
|
67fa81d079
|
Convert repeat rules into pairs of recursive rules
|
2014-01-24 18:27:29 -08:00 |
|
Max Brunsfeld
|
e174b89133
|
Treat end of input like a normal token
|
2014-01-22 23:04:11 -08:00 |
|
Max Brunsfeld
|
92cec5758f
|
Reorganize compiler directory
|
2014-01-11 15:14:17 -08:00 |
|