Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-01-10 | Leaf cloner. | David Walter Seikel | 1 | -6/+10 | |
2012-01-10 | Get rid of the comment function. | David Walter Seikel | 2 | -15/+3 | |
2012-01-10 | Get rid of the LSL_AST structure, it's all in LSL_Leaf now. | David Walter Seikel | 3 | -119/+95 | |
2012-01-10 | Move more things into the LSL_Leaf structure, and some clean up related to that. | David Walter Seikel | 4 | -173/+173 | |
2012-01-10 | Almost got white space and comments working. Still a bug left somewhere, I ↵ | David Walter Seikel | 5 | -211/+249 | |
think it's in operations ordering. | |||||
2012-01-09 | Hmmm, we have a circular dependencie with the include fiels each of flex and ↵ | David Walter Seikel | 1 | -0/+9 | |
btyacc generate. So run btyacc twice. | |||||
2012-01-09 | A little format cleanup. | David Walter Seikel | 1 | -8/+5 | |
2012-01-09 | Doesn't hurt, but does not fix it either. Gives me an idea though. | David Walter Seikel | 1 | -2/+2 | |
2012-01-09 | The other half of the comment scanner. | David Walter Seikel | 1 | -3/+16 | |
2012-01-09 | Moved yyerror() into the flex source. Added a count function, CHAR, STRING, ↵ | David Walter Seikel | 2 | -8/+34 | |
and comment stripping. Well, half of comment stripping, it will fail without the other half. lol | |||||
2012-01-09 | Missed this. | David Walter Seikel | 1 | -0/+1 | |
2012-01-09 | Added ANSI C flex and yacc files, just for reference. | David Walter Seikel | 2 | -0/+653 | |
2012-01-09 | One of these days I'll get spaces to work. Another hack at it. | David Walter Seikel | 2 | -5/+12 | |
2012-01-09 | Implement script, and add YYVALID for statement to help with recovering from ↵ | David Walter Seikel | 1 | -1/+6 | |
errors. | |||||
2012-01-09 | Turn btyacc debugging back on, it's fine now. | David Walter Seikel | 1 | -2/+1 | |
2012-01-09 | Missed a keyword. | David Walter Seikel | 1 | -0/+1 | |
2012-01-09 | Add most of the rest of the tokens, but ignore them. | David Walter Seikel | 3 | -54/+118 | |
2012-01-08 | Rearrange everything, to be consistant order. | David Walter Seikel | 4 | -165/+193 | |
2012-01-08 | Bite the bullet and get rid of my dreams to use enums, yacc insists on #defines. | David Walter Seikel | 2 | -119/+26 | |
2012-01-08 | Apparently order of these ALSO sets precedence. shrugs | David Walter Seikel | 1 | -10/+10 | |
2012-01-08 | Use character classes, some clean up. Tried to add space storing, but it ↵ | David Walter Seikel | 4 | -31/+46 | |
did not work. | |||||
2012-01-08 | Parenthesis and statement parsing. | David Walter Seikel | 5 | -8/+76 | |
2012-01-08 | Parse an actual file. | David Walter Seikel | 4 | -50/+130 | |
2012-01-07 | Forget to save first. lol | David Walter Seikel | 1 | -0/+1 | |
2012-01-07 | More expression cleanup. | David Walter Seikel | 2 | -158/+169 | |
2012-01-07 | Clean up. exp -> ast. No more addExpression or outputExpression. ↵ | David Walter Seikel | 2 | -112/+102 | |
Operations output themselves. | |||||
2012-01-07 | We don't need LSL_Expression. | David Walter Seikel | 2 | -45/+12 | |
2012-01-07 | Evaluate expressions using the new token table. | David Walter Seikel | 2 | -155/+126 | |
2012-01-07 | Make the parser more generic with function pointers and a big arse table. | David Walter Seikel | 3 | -204/+209 | |
2012-01-07 | No need to actually compile the LSL flex and yacc sources, they are just ↵ | David Walter Seikel | 1 | -10/+0 | |
reference now. I'll be writing me own. | |||||
2012-01-07 | Convert the parser from dealing with just expressions, to dealing with the ↵ | David Walter Seikel | 4 | -237/+240 | |
entire AST. | |||||
2012-01-06 | Flex performance tweaks, and other options. | David Walter Seikel | 3 | -12/+17 | |
2012-01-06 | Added most of the expression parser. | David Walter Seikel | 3 | -33/+84 | |
2012-01-06 | Precedence changes. | David Walter Seikel | 1 | -2/+1 | |
2012-01-06 | Remove errant empty line. | David Walter Seikel | 1 | -1/+0 | |
2012-01-06 | Folded this code into the rest of the C file, but forgot to remove the file. | David Walter Seikel | 1 | -22/+0 | |
2012-01-06 | Even more debugging stuff, and make it selectable if the parser uses ↵ | David Walter Seikel | 4 | -122/+207 | |
#defines or enums for tokens. NOTE - enum does not work anyway with btyacc. | |||||
2012-01-06 | Add more debugging stuff. | David Walter Seikel | 2 | -19/+21 | |
2012-01-06 | Use the LSL_ enums for parser tokens. Some clean up and debugging. | David Walter Seikel | 5 | -148/+147 | |
OK, so the parsers prefer to make them defines instead of enums. sigh | |||||
2012-01-06 | Add more LSL parsing structure. | David Walter Seikel | 5 | -114/+556 | |
2012-01-05 | Update the not yet used real parser includes to. | David Walter Seikel | 2 | -19/+13 | |
2012-01-05 | Consolidate the parser includes. | David Walter Seikel | 6 | -89/+75 | |
2012-01-05 | Bit more cleanup. | David Walter Seikel | 1 | -6/+8 | |
2012-01-05 | Clean up the parser. | David Walter Seikel | 3 | -142/+100 | |
2012-01-05 | Remove most of the constants, we can put them in Lua globals later. Make ↵ | David Walter Seikel | 4 | -991/+28 | |
the LSL parner more like the test one. | |||||
2012-01-05 | Added the unadulterated flex and bison source files from the SL viewer. | David Walter Seikel | 3 | -0/+2751 | |
Actually, from meta-impy, but originaly from one of the SL viewers. They actually produce C files, though some of it is C++. The resulting files wont compile without lots of C++ files from the viewer. Still, it's a step in the right direction. "btyacc: 88 reduce/reduce conflicts." might be a worry though. | |||||
2012-01-05 | Make the btyacc stuff a little more reentrant to match bison. | David Walter Seikel | 1 | -8/+8 | |
It's still not reentrant. lol | |||||
2012-01-05 | Add a simple flex + btyacc stub. | David Walter Seikel | 9 | -1/+1303 | |
Will be fleshed out soon with LSL grammer. | |||||
2012-01-05 | Add a compiler stub. | David Walter Seikel | 5 | -3/+47 | |
2012-01-04 | Move the object files out of the source directory. | David Walter Seikel | 1 | -6/+7 | |
Should do a proper out of tree build later, this is just quick and dirty for now. |