summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Nick Downing [Tue, 29 Jan 2019 00:51:05 +0000 (11:51 +1100)]
Remove attribute and iterator capabilities from element.Element
Nick Downing [Tue, 29 Jan 2019 00:48:36 +0000 (11:48 +1100)]
Make deserializer use a temporary tree of xml.etree.ElementTree.Element
Nick Downing [Mon, 28 Jan 2019 23:49:45 +0000 (10:49 +1100)]
Make serializer use a temporary tree of xml.etree.ElementTree.Element
Nick Downing [Mon, 28 Jan 2019 11:52:32 +0000 (22:52 +1100)]
Make element.Element implement the xml.etree.ElementTree._Element_Py by itself
Nick Downing [Mon, 28 Jan 2019 10:05:43 +0000 (21:05 +1100)]
Make default values not be serialized to XML
Nick Downing [Mon, 28 Jan 2019 07:56:21 +0000 (18:56 +1100)]
Use JSON encoding for attributes, to allow nested types such as list(list(int))
Nick Downing [Mon, 28 Jan 2019 06:57:19 +0000 (17:57 +1100)]
Add dict type, implement type checking in generate_expression()
Nick Downing [Sun, 27 Jan 2019 23:22:46 +0000 (10:22 +1100)]
Freeze compiled pilex.git commit
767c103, pitree.git commit
3daa8a6, piyacc.git commit
bc19b4a, into bootstrap_*, use pitree.t and t_def.py instead of ast.py
Nick Downing [Mon, 28 Jan 2019 02:15:01 +0000 (13:15 +1100)]
Add or update license in every file, update tests to put license at start of *.t source and expected output files, allow comments in section 1 of *.t file (may revisit as section 1 is line oriented), rename t_ast.py output file to t_def.py
Nick Downing [Sun, 27 Jan 2019 23:10:04 +0000 (10:10 +1100)]
Honour specification of field default value, allow mandatory field (no default)
Nick Downing [Sun, 27 Jan 2019 23:00:23 +0000 (10:00 +1100)]
Remove obsolete __repr__() and repr_serialize() on AST elements, change spacing
Nick Downing [Sun, 27 Jan 2019 11:31:13 +0000 (22:31 +1100)]
Make serialization nested with proper virtual functions to handle compound type
Nick Downing [Sun, 27 Jan 2019 08:52:39 +0000 (19:52 +1100)]
Partially move generation of the serialize/deserialize routines into TypeXXX
Nick Downing [Sun, 27 Jan 2019 00:22:20 +0000 (11:22 +1100)]
Move generation of the serialize/deserialize routines into the Type object
Nick Downing [Sat, 26 Jan 2019 23:35:22 +0000 (10:35 +1100)]
Remove obsolete way of initializing AST elements with serialized (string) data
Nick Downing [Sat, 26 Jan 2019 23:08:23 +0000 (10:08 +1100)]
Make fields be a list of ref rather than a list of type, name pairs
Nick Downing [Sat, 26 Jan 2019 23:00:48 +0000 (10:00 +1100)]
Simplify handling of field list
Nick Downing [Sat, 26 Jan 2019 22:56:00 +0000 (09:56 +1100)]
Correct accidental editing of generate_ast.py introduced in commit
705f669
Nick Downing [Sat, 26 Jan 2019 13:22:19 +0000 (00:22 +1100)]
Add ./o.sh test procedure which compiles pitree with itself to test with ./n.sh
Nick Downing [Sat, 26 Jan 2019 13:03:10 +0000 (00:03 +1100)]
First cut at pitree.py converter, hacky conversion of generate_ast.py to ast.py
Nick Downing [Sat, 26 Jan 2019 10:50:17 +0000 (21:50 +1100)]
Add scanner and parser that can recognize and mark up the test inputs
Nick Downing [Thu, 24 Jan 2019 12:22:23 +0000 (23:22 +1100)]
Put non-element classes, and unrecognized code other than imports, in section 3
Nick Downing [Tue, 22 Jan 2019 03:34:41 +0000 (14:34 +1100)]
Generate test input file and expected output file from existing ast.py projects