summaryrefslogtreecommitdiff
path: root/devtools/tablegen.py
Commit message (Collapse)AuthorAgeFilesLines
* tablegen.py: pep8 cleanup.Gary E. Miller2018-07-261-0/+1
| | | | Note the program pep8 is now called pycodestyle
* tablegen.py: Fix for PEP8Gary E. Miller2018-06-201-44/+61
|
* Fixes devtools/*.py for Python 3.Fred Wright2016-04-101-69/+87
| | | | | | | | | | | | | This applies the 2to3 fixes as well as integer division fixes to the four programs in devtools. Most of these transformations are similar to ones used elsewhere, with the notable exception of the reraise_with_traceback() function in ais.py. TESTED: Ran identify_failing_build_options.py with both Python 2 and Python 3 up through length 1, with identical results. Did *not* test the other three programs. Someone more familiar with their usage should do that.
* Document some conventions.Eric S. Raymond2013-10-061-0/+8
|
* Correct some code generation.Eric S. Raymond2013-10-061-7/+7
|
* Make vocabulary references in dump code.Eric S. Raymond2013-10-061-2/+20
|
* Generate structure name properly.Eric S. Raymond2013-10-061-0/+5
|
* Update a comment.Eric S. Raymond2013-10-061-1/+2
|
* Subtable parsing works.Eric S. Raymond2013-10-061-5/+22
|
* Modified table parsing - a step towards parsing vocabulary tables.Eric S. Raymond2013-10-061-13/+25
|
* Correctly generate JSON dumping code for trailing arrays.Eric S. Raymond2013-10-051-5/+8
|
* ind -> i as a loop variable name.Eric S. Raymond2013-10-051-4/+4
|
* Fixes to generation of JSON dump code for arrays.Eric S. Raymond2013-10-051-3/+3
|
* Fix a minor bug in boolean field generation.Eric S. Raymond2013-10-021-10/+10
|
* Derived-attribute generation for enumerated fields.Eric S. Raymond2013-10-021-0/+4
|
* Driver code generation for boolean fields.Eric S. Raymond2013-10-021-0/+2
|
* Change JSON-dumper code generation to match my previous commit.Eric S. Raymond2013-10-011-1/+5
|
* More output improvements to tablegen.py.Eric S. Raymond2013-10-011-9/+13
|
* Minor improvements to tablegen.py.Eric S. Raymond2013-10-011-4/+12
|
* tablegen.py conditionally includes -t.Eric S. Raymond2013-10-011-3/+6
|
* tablegen.py -t does more errorchecking.Eric S. Raymond2013-10-011-3/+17
|
* [AIS] Fix plenty of small bugs unveiled by aishub test campaign.Christian Gagneraud2012-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | A test campaign was run with live data from aishub.net (ca. 25 millions sentence, 1.2 GB of logs), the goal was to check the decoding and the JSON parsing and dumping code. On all the AIS data, the following tests were done: - AIVDM decoding - JSON scaled dump - JSON validity check on scaled dump. - JSON unscaled dump - JSON validity check on unscaled dump - JSON unscaled idempotency check - JSON unscaled/scaled idempotency check The last check consisted of: - parsing the unscaled dump - dumping it back in scaled mode - compare it with the original scaled dump. This test campaign has unveiled plenty of small bugs all around the AIS code. This patch fixes all of them and adds new sentences in the regression tests.
* In AIS, partial support for VTS-Generated/Synthetic Targets.Eric S. Raymond2011-05-311-8/+20
| | | | | JSON parsing of string IDs won't work yet; code generator needs some extension.
* In the AIS code generator, loop variables may be signed or unsigned.Eric S. Raymond2011-05-301-6/+6
|
* In AIS, support for IMO236 Tidal Window message.Eric S. Raymond2011-05-281-1/+1
| | | | Mostly reuses code for the IMO289 variant.
* In AIS, IMO289 Tidal Window support. All regression tests pass.Eric S. Raymond2011-05-281-7/+7
|
* Matchiing array code generation for the library parser.Eric S. Raymond2011-05-281-5/+15
|
* Tweak a code-generation detail.Eric S. Raymond2011-05-281-1/+5
|
* Generate Python initializer members for trailing-array parts.Eric S. Raymond2011-05-271-26/+37
| | | | jsongen.py doesn't generate code from these yet. That's next.
* Typo fixes.Eric S. Raymond2011-05-271-2/+2
|
* Dump code generation for arrays.Eric S. Raymond2011-05-271-7/+42
|
* Driver code generation for arrays appears complete.Eric S. Raymond2011-05-271-1/+1
|
* Code generation for arrays almost working.Eric S. Raymond2011-05-261-5/+21
|
* Array boundary markers now include a dimension.Eric S. Raymond2011-05-261-3/+4
|
* Use array name from the AIVDM.txt tables.Eric S. Raymond2011-05-261-9/+9
|
* Improve dump-code generation.Eric S. Raymond2011-05-261-80/+73
|
* Driver code generation for trailing arrays in AIDVM messages.Eric S. Raymond2011-05-261-8/+39
|
* Structure generation for trailing arrays.Eric S. Raymond2011-05-261-1/+11
|
* Make the AIS table-renumbering code aware of array-boundary markers.Eric S. Raymond2011-05-261-4/+10
|
* Improve dump-code generation for enumerated types.Eric S. Raymond2011-05-261-17/+18
|
* Minor fixes to AIS tables and generation machinery.Eric S. Raymond2011-05-261-1/+1
|
* Teach the code generator to handle enumerated types.Eric S. Raymond2011-05-091-3/+10
|
* A minor improvement in a code generator.Eric S. Raymond2011-05-071-0/+4
|
* Minor fix to a code generator.Eric S. Raymond2011-05-061-1/+1
|
* In AIS, support for IMO236 type 8 DAC = 1 FID = 13.Eric S. Raymond2011-05-041-6/+4
|
* Fix a minor code-generator error.Eric S. Raymond2011-04-261-1/+1
|
* In AIS, client-library support for IMO289 FID=18.Eric S. Raymond2011-04-251-8/+4
|
* Remove erroneous trailing comma.Eric S. Raymond2011-04-251-1/+1
|
* In AIS, add partial support for IMO 236 FID 25 (untested).Eric S. Raymond2011-04-251-5/+13
| | | | | | | | Daemon support fort analyzing and reporting. Client-library support is not done, it needs machinery to handle the array of repeated elements at the end. All regression tests pass.
* Refactor code generation.Eric S. Raymond2011-04-201-233/+247
|