Major reworking of the generator, added junit5 tests. foreign-abi
authorNot Zed <notzed@gmail.com>
Wed, 30 Jul 2025 11:31:07 +0000 (21:01 +0930)
committerNot Zed <notzed@gmail.com>
Wed, 30 Jul 2025 11:31:07 +0000 (21:01 +0930)
commit16cd545824d94cc11c722384223b9f37323dc38d
treef91f899419169cf675f943f8d3ab7197e038ac7f
parentbff6a894e01c07af0e465995e2b4e21aefa7472e
Major reworking of the generator, added junit5 tests.
 - all values now go through Value.{Scalar,Array,Hash} with simpler
   semantics.  Value is now an interface and each instance is a record.
 - junit5 tests for some classes, they run from the makefile only as yet.
 - enhanced api format
  - flags and named options on some objects/fields
  - pattern matched 'things' add named-group's from the pattern to the map
  - namespace for certain options
 - enhanced templates
   - 'builtin function's for naming convention conversion.
   - relative paths better defined (using '/') including leading '..' parts
   - better range specification/behaviour
   - comparisons use numbers (long) if they are numbers
 - bit better logging
 - removed some dumb ideas/dead code etc.
24 files changed:
Makefile
config.make.in
java.make
junit5.make [new file with mode: 0644]
maven.make [new file with mode: 0644]
nbproject/project.properties
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/API.java
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Array.java [deleted file]
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Context.java
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Data.java [deleted file]
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Export.java
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Generator.java
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Hash.java [deleted file]
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Scalar.java [deleted file]
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Template.java
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Text.java [deleted file]
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Tokeniser.java
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Util.java
src/notzed.nativez.tools/classes/au/notzed/nativez/tools/Value.java
src/notzed.nativez.tools/tests/au/notzed/nativez/tools/ContextTest.java [new file with mode: 0644]
src/notzed.nativez.tools/tests/au/notzed/nativez/tools/Data.java [new file with mode: 0644]
src/notzed.nativez.tools/tests/au/notzed/nativez/tools/TemplateTest.java [new file with mode: 0644]
src/notzed.nativez.tools/tests/au/notzed/nativez/tools/UtilTest.java [new file with mode: 0644]
src/notzed.nativez.tools/tests/au/notzed/nativez/tools/ValueTest.java [new file with mode: 0644]