Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | yylineno does not track colums, so do it myself. | David Walter Seikel | 2012-01-16 | 3 | -3/+20 |
| | |||||
* | Parser now parses a real script to completion with no syntax errors! B-) | David Walter Seikel | 2012-01-16 | 1 | -72/+88 |
| | |||||
* | Add a proper LSL file for easy testing. | David Walter Seikel | 2012-01-16 | 1 | -0/+108 |
| | |||||
* | Make things more robust against a half arsed parser. | David Walter Seikel | 2012-01-16 | 3 | -8/+10 |
| | |||||
* | We need an untyped function declaration, but it conflicts, so leave it ↵ | David Walter Seikel | 2012-01-16 | 1 | -0/+1 |
| | | | | commented out for now. | ||||
* | Make sure identifiers get, er, identified. | David Walter Seikel | 2012-01-16 | 1 | -12/+12 |
| | |||||
* | Missed a debug ifdef. | David Walter Seikel | 2012-01-16 | 1 | -0/+2 |
| | |||||
* | Auto test file with no arguments. | David Walter Seikel | 2012-01-16 | 1 | -0/+8 |
| | |||||
* | Lemon parser more complete now, may even be more correct. | David Walter Seikel | 2012-01-16 | 1 | -15/+14 |
| | |||||
* | More clean up, and tiredness descends. | David Walter Seikel | 2012-01-16 | 1 | -13/+6 |
| | |||||
* | Clean that up a little. | David Walter Seikel | 2012-01-16 | 1 | -3/+3 |
| | |||||
* | Very quick and dirty fleshing out of the lemon parser. It's likely wrong. | David Walter Seikel | 2012-01-16 | 1 | -14/+80 |
| | | | | If / else if / else is traditionally hard. Leaving it for later, this is the quick and dirty version. | ||||
* | Add key and string to the parser. | David Walter Seikel | 2012-01-16 | 2 | -0/+5 |
| | |||||
* | Clean up space. | David Walter Seikel | 2012-01-16 | 1 | -3/+3 |
| | |||||
* | Fill out the rest of theparser symbols, and partiallyimplement typecasting. | David Walter Seikel | 2012-01-16 | 3 | -38/+76 |
| | |||||
* | Report line and column in syntax errors, and stack overflows. | David Walter Seikel | 2012-01-16 | 1 | -4/+3 |
| | |||||
* | Actually make use of the lexers line and column numbers. | David Walter Seikel | 2012-01-16 | 3 | -19/+2 |
| | |||||
* | Get multi file parsing working. | David Walter Seikel | 2012-01-15 | 3 | -167/+130 |
| | |||||
* | Re-arrange lemon to run before frex due to dependencies. | David Walter Seikel | 2012-01-15 | 1 | -4/+3 |
| | |||||
* | Updated comment about modulo. | David Walter Seikel | 2012-01-15 | 1 | -1/+1 |
| | |||||
* | Updated float matching rule. | David Walter Seikel | 2012-01-15 | 1 | -2/+2 |
| | |||||
* | Little bit of clean up. | David Walter Seikel | 2012-01-14 | 3 | -4/+5 |
| | |||||
* | Generic type handling, and add the float type. | David Walter Seikel | 2012-01-13 | 5 | -203/+508 |
| | |||||
* | Big comment about type casting and the various operations an types. | David Walter Seikel | 2012-01-12 | 1 | -0/+56 |
| | |||||
* | Change the order of conditionals, with more comments. Resort the upper tag ↵ | David Walter Seikel | 2012-01-12 | 2 | -15/+17 |
| | | | | types. | ||||
* | Move and comment the lemon syntax error stuff. | David Walter Seikel | 2012-01-12 | 1 | -1/+3 |
| | |||||
* | Add a hex integer format, and comment about variations for float. | David Walter Seikel | 2012-01-12 | 1 | -3/+6 |
| | |||||
* | A failed attempt to handle multiple files. | David Walter Seikel | 2012-01-12 | 3 | -55/+60 |
| | |||||
* | Make the lexer more reentrant, and piss off yyerror. | David Walter Seikel | 2012-01-12 | 3 | -94/+90 |
| | |||||
* | Space reduction. | David Walter Seikel | 2012-01-12 | 1 | -11/+5 |
| | |||||
* | Allow output to a file, and compare the output with the input. | David Walter Seikel | 2012-01-12 | 2 | -46/+76 |
| | |||||
* | More clean up. | David Walter Seikel | 2012-01-12 | 4 | -28/+16 |
| | |||||
* | Some general cleanup. | David Walter Seikel | 2012-01-12 | 3 | -55/+41 |
| | |||||
* | Update .gitignore for lemon. | David Walter Seikel | 2012-01-12 | 1 | -1/+4 |
| | |||||
* | Switch to the lemon parser. | David Walter Seikel | 2012-01-12 | 12 | -1726/+6036 |
| | |||||
* | Leaf cloner. | David Walter Seikel | 2012-01-10 | 1 | -6/+10 |
| | |||||
* | Get rid of the comment function. | David Walter Seikel | 2012-01-10 | 2 | -15/+3 |
| | |||||
* | Get rid of the LSL_AST structure, it's all in LSL_Leaf now. | David Walter Seikel | 2012-01-10 | 3 | -119/+95 |
| | |||||
* | Move more things into the LSL_Leaf structure, and some clean up related to that. | David Walter Seikel | 2012-01-10 | 4 | -173/+173 |
| | |||||
* | Almost got white space and comments working. Still a bug left somewhere, I ↵ | David Walter Seikel | 2012-01-10 | 5 | -211/+249 |
| | | | | think it's in operations ordering. | ||||
* | Hmmm, we have a circular dependencie with the include fiels each of flex and ↵ | David Walter Seikel | 2012-01-09 | 1 | -0/+9 |
| | | | | btyacc generate. So run btyacc twice. | ||||
* | A little format cleanup. | David Walter Seikel | 2012-01-09 | 1 | -8/+5 |
| | |||||
* | Doesn't hurt, but does not fix it either. Gives me an idea though. | David Walter Seikel | 2012-01-09 | 1 | -2/+2 |
| | |||||
* | The other half of the comment scanner. | David Walter Seikel | 2012-01-09 | 1 | -3/+16 |
| | |||||
* | Moved yyerror() into the flex source. Added a count function, CHAR, STRING, ↵ | David Walter Seikel | 2012-01-09 | 2 | -8/+34 |
| | | | | | | and comment stripping. Well, half of comment stripping, it will fail without the other half. lol | ||||
* | Missed this. | David Walter Seikel | 2012-01-09 | 1 | -0/+1 |
| | |||||
* | Added ANSI C flex and yacc files, just for reference. | David Walter Seikel | 2012-01-09 | 2 | -0/+653 |
| | |||||
* | One of these days I'll get spaces to work. Another hack at it. | David Walter Seikel | 2012-01-09 | 2 | -5/+12 |
| | |||||
* | Implement script, and add YYVALID for statement to help with recovering from ↵ | David Walter Seikel | 2012-01-09 | 1 | -1/+6 |
| | | | | errors. | ||||
* | Turn btyacc debugging back on, it's fine now. | David Walter Seikel | 2012-01-09 | 1 | -2/+1 |
| |