summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Nick Downing [Sun, 12 Aug 2018 00:33:55 +0000 (10:33 +1000)]
Translate more C constructs, categorize identifiers and add (self|yy). prefixes to some of them, indent the containing flex source as well as the Python source
Nick Downing [Sun, 5 Aug 2018 12:01:12 +0000 (22:01 +1000)]
Implement basic Python translation, mainly indenting/spacing, handle some expressions and statements specially, in particular add logic for do/while loops etc
Nick Downing [Sun, 5 Aug 2018 01:57:56 +0000 (11:57 +1000)]
Make it invoke the C preprocessor only once with all the actions, and correctly substitute macros, deleting the preprocessed results of includes before parsing
Nick Downing [Sun, 5 Aug 2018 00:59:05 +0000 (10:59 +1000)]
First cut at l_to_python.py translator which reads a lex specification (in XML format for now), and then passes each action through c_to_python.py to translate