aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge the compiler into the test harness. Remove excess files.David Walter Seikel2012-01-171-1047/+0
|
* Better error message.David Walter Seikel2012-01-171-40/+40
|
* No need to pass param to these.David Walter Seikel2012-01-171-3/+3
|
* Slightly better error message for invalid error message. Needs more work.David Walter Seikel2012-01-171-1/+10
|
* Change how output and converting is done.David Walter Seikel2012-01-171-140/+122
|
* Actually make state work. lolDavid Walter Seikel2012-01-171-5/+19
|
* Parser now understands state, function, and variable derlarations. ↵David Walter Seikel2012-01-171-11/+177
| | | | Including scope. :-P
* Disable the file compare for now, got lots to add before it will work again.David Walter Seikel2012-01-171-4/+5
|
* yylineno does not track colums, so do it myself.David Walter Seikel2012-01-161-0/+3
|
* Make things more robust against a half arsed parser.David Walter Seikel2012-01-161-4/+6
|
* Missed a debug ifdef.David Walter Seikel2012-01-161-0/+2
|
* Auto test file with no arguments.David Walter Seikel2012-01-161-0/+8
|
* Clean up space.David Walter Seikel2012-01-161-3/+3
|
* Fill out the rest of theparser symbols, and partiallyimplement typecasting.David Walter Seikel2012-01-161-29/+52
|
* Actually make use of the lexers line and column numbers.David Walter Seikel2012-01-161-2/+0
|
* Get multi file parsing working.David Walter Seikel2012-01-151-113/+101
|
* Updated comment about modulo.David Walter Seikel2012-01-151-1/+1
|
* Little bit of clean up.David Walter Seikel2012-01-141-1/+1
|
* Generic type handling, and add the float type.David Walter Seikel2012-01-131-197/+408
|
* Big comment about type casting and the various operations an types.David Walter Seikel2012-01-121-0/+56
|
* Change the order of conditionals, with more comments. Resort the upper tag ↵David Walter Seikel2012-01-121-9/+10
| | | | types.
* A failed attempt to handle multiple files.David Walter Seikel2012-01-121-53/+42
|
* Make the lexer more reentrant, and piss off yyerror.David Walter Seikel2012-01-121-3/+5
|
* Allow output to a file, and compare the output with the input.David Walter Seikel2012-01-121-43/+72
|
* More clean up.David Walter Seikel2012-01-121-10/+6
|
* Some general cleanup.David Walter Seikel2012-01-121-24/+8
|
* Switch to the lemon parser.David Walter Seikel2012-01-121-110/+136
|
* Leaf cloner.David Walter Seikel2012-01-101-6/+10
|
* Get rid of the LSL_AST structure, it's all in LSL_Leaf now.David Walter Seikel2012-01-101-100/+84
|
* Move more things into the LSL_Leaf structure, and some clean up related to that.David Walter Seikel2012-01-101-71/+69
|
* Almost got white space and comments working. Still a bug left somewhere, I ↵David Walter Seikel2012-01-101-57/+75
| | | | think it's in operations ordering.
* Moved yyerror() into the flex source. Added a count function, CHAR, STRING, ↵David Walter Seikel2012-01-091-6/+0
| | | | | | and comment stripping. Well, half of comment stripping, it will fail without the other half. lol
* One of these days I'll get spaces to work. Another hack at it.David Walter Seikel2012-01-091-4/+11
|
* Add most of the rest of the tokens, but ignore them.David Walter Seikel2012-01-091-44/+55
|
* Rearrange everything, to be consistant order.David Walter Seikel2012-01-081-62/+71
|
* Bite the bullet and get rid of my dreams to use enums, yacc insists on #defines.David Walter Seikel2012-01-081-30/+24
|
* Use character classes, some clean up. Tried to add space storing, but it ↵David Walter Seikel2012-01-081-3/+14
| | | | did not work.
* Parenthesis and statement parsing.David Walter Seikel2012-01-081-4/+60
|
* Parse an actual file.David Walter Seikel2012-01-081-44/+109
|
* Forget to save first. lolDavid Walter Seikel2012-01-071-0/+1
|
* More expression cleanup.David Walter Seikel2012-01-071-157/+168
|
* Clean up. exp -> ast. No more addExpression or outputExpression. ↵David Walter Seikel2012-01-071-110/+100
| | | | Operations output themselves.
* We don't need LSL_Expression.David Walter Seikel2012-01-071-32/+7
|
* Evaluate expressions using the new token table.David Walter Seikel2012-01-071-152/+119
|
* Make the parser more generic with function pointers and a big arse table.David Walter Seikel2012-01-071-92/+183
|
* Convert the parser from dealing with just expressions, to dealing with the ↵David Walter Seikel2012-01-071-139/+167
| | | | entire AST.
* Added most of the expression parser.David Walter Seikel2012-01-061-15/+16
|
* Even more debugging stuff, and make it selectable if the parser uses ↵David Walter Seikel2012-01-061-102/+165
| | | | | | #defines or enums for tokens. NOTE - enum does not work anyway with btyacc.
* Use the LSL_ enums for parser tokens. Some clean up and debugging.David Walter Seikel2012-01-061-96/+99
| | | | OK, so the parsers prefer to make them defines instead of enums. sigh
* Add more LSL parsing structure.David Walter Seikel2012-01-061-43/+235
|