Skip to content

Commit

Permalink
Pulled new compiler with optimized expression generation
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyCat committed Mar 22, 2024
1 parent db221f3 commit 28dd0dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler
Submodule compiler updated 31 files
+1 −1 jvm/src/main/scala/io/kaitai/struct/formats/JavaClassSpecs.scala
+64 −0 jvm/src/test/scala/io/kaitai/struct/precompile/CanonicalizeEncodingNames$Test.scala
+324 −137 jvm/src/test/scala/io/kaitai/struct/translators/TranslatorSpec.scala
+1 −1 shared/src/main/scala/io/kaitai/struct/ConstructClassCompiler.scala
+2 −2 shared/src/main/scala/io/kaitai/struct/GraphvizClassCompiler.scala
+19 −2 shared/src/main/scala/io/kaitai/struct/datatype/DataType.scala
+3 −4 shared/src/main/scala/io/kaitai/struct/format/AttrSpec.scala
+1 −1 shared/src/main/scala/io/kaitai/struct/format/ClassSpec.scala
+11 −11 shared/src/main/scala/io/kaitai/struct/format/InstanceSpec.scala
+4 −4 shared/src/main/scala/io/kaitai/struct/format/ParseUtils.scala
+1 −1 shared/src/main/scala/io/kaitai/struct/precompile/CalculateSeqSizes.scala
+5 −4 shared/src/main/scala/io/kaitai/struct/precompile/CanonicalizeEncodingNames.scala
+2 −2 shared/src/main/scala/io/kaitai/struct/precompile/ResolveTypes.scala
+5 −1 shared/src/main/scala/io/kaitai/struct/precompile/TypeValidator.scala
+2 −2 shared/src/main/scala/io/kaitai/struct/problems/CompilationProblem.scala
+7 −1 shared/src/main/scala/io/kaitai/struct/translators/AbstractTranslator.scala
+7 −5 shared/src/main/scala/io/kaitai/struct/translators/BaseTranslator.scala
+13 −13 shared/src/main/scala/io/kaitai/struct/translators/CSharpTranslator.scala
+12 −0 shared/src/main/scala/io/kaitai/struct/translators/CommonMethods.scala
+35 −2 shared/src/main/scala/io/kaitai/struct/translators/CommonOps.scala
+13 −12 shared/src/main/scala/io/kaitai/struct/translators/CppTranslator.scala
+13 −14 shared/src/main/scala/io/kaitai/struct/translators/GoTranslator.scala
+8 −8 shared/src/main/scala/io/kaitai/struct/translators/JavaScriptTranslator.scala
+12 −12 shared/src/main/scala/io/kaitai/struct/translators/JavaTranslator.scala
+8 −8 shared/src/main/scala/io/kaitai/struct/translators/LuaTranslator.scala
+1 −1 shared/src/main/scala/io/kaitai/struct/translators/NimTranslator.scala
+8 −8 shared/src/main/scala/io/kaitai/struct/translators/PHPTranslator.scala
+7 −7 shared/src/main/scala/io/kaitai/struct/translators/PerlTranslator.scala
+9 −8 shared/src/main/scala/io/kaitai/struct/translators/PythonTranslator.scala
+19 −19 shared/src/main/scala/io/kaitai/struct/translators/RubyTranslator.scala
+5 −16 shared/src/main/scala/io/kaitai/struct/translators/RustTranslator.scala
2 changes: 1 addition & 1 deletion tests
Submodule tests updated 81 files
+0 −15 formats/nav_parent_recursive.ksy
+4 −5 formats/nav_parent_switch_cast.ksy
+0 −14 formats/nav_root_recursive.ksy
+0 −15 formats/nested_types_import.ksy
+1 −1 formats/params_call_short.ksy
+3 −3 formats/position_abs.ksy
+4 −4 formats/position_to_end.ksy
+14 −14 formats/repeat_until_complex.ksy
+0 −21 formats_err/nav_parent_multi.ksy
+0 −10 formats_err/nav_parent_unused.ksy
+0 −12 formats_err/nav_parent_unused_import.ksy
+0 −10 formats_err/params_call_bad_type_subtype_import.ksy
+0 −10 formats_err/params_call_bad_type_top_import.ksy
+0 −14 formats_err/params_call_bad_type_top_local.ksy
+2 −2 formats_err/params_call_short_bad_type.ksy
+2 −2 formats_err/params_call_short_malformed.ksy
+2 −2 formats_err/params_call_short_too_many.ksy
+0 −10 formats_err/params_call_too_many_subtype_import.ksy
+0 −10 formats_err/params_call_too_many_top_import.ksy
+0 −14 formats_err/params_call_too_many_top_local.ksy
+0 −9 formats_err/params_def_subtype_imported.ksy
+0 −7 formats_err/params_def_top_imported.ksy
+4 −50 report-download-github
+0 −14 spec/construct/test_nav_parent_recursive.py
+0 −14 spec/construct/test_nav_root_recursive.py
+0 −21 spec/construct/test_nested_types_import.py
+3 −3 spec/construct/test_params_call_short.py
+0 −20 spec/cpp_stl_11/test_nav_parent_recursive.cpp
+0 −20 spec/cpp_stl_11/test_nav_root_recursive.cpp
+0 −25 spec/cpp_stl_11/test_nested_types_import.cpp
+3 −3 spec/cpp_stl_11/test_params_call_short.cpp
+0 −20 spec/cpp_stl_98/test_nav_parent_recursive.cpp
+0 −20 spec/cpp_stl_98/test_nav_root_recursive.cpp
+0 −25 spec/cpp_stl_98/test_nested_types_import.cpp
+3 −3 spec/cpp_stl_98/test_params_call_short.cpp
+0 −21 spec/csharp/kaitai_struct_csharp_tests/tests/SpecNavParentRecursive.cs
+0 −21 spec/csharp/kaitai_struct_csharp_tests/tests/SpecNavRootRecursive.cs
+0 −28 spec/csharp/kaitai_struct_csharp_tests/tests/SpecNestedTypesImport.cs
+3 −3 spec/csharp/kaitai_struct_csharp_tests/tests/SpecParamsCallShort.cs
+0 −40 spec/go/nav_parent_recursive_test.go
+0 −40 spec/go/nav_root_recursive_test.go
+0 −43 spec/go/nested_types_import_test.go
+2 −2 spec/go/params_call_short_test.go
+0 −19 spec/java/src/io/kaitai/struct/spec/TestNavParentRecursive.java
+0 −19 spec/java/src/io/kaitai/struct/spec/TestNavRootRecursive.java
+0 −26 spec/java/src/io/kaitai/struct/spec/TestNestedTypesImport.java
+4 −4 spec/java/src/io/kaitai/struct/spec/TestParamsCallShort.java
+0 −12 spec/javascript/test_nav_parent_recursive.js
+0 −12 spec/javascript/test_nav_root_recursive.js
+0 −19 spec/javascript/test_nested_types_import.js
+1 −1 spec/javascript/test_params_call_short.js
+0 −13 spec/ks/nav_parent_recursive.kst
+0 −13 spec/ks/nav_root_recursive.kst
+0 −32 spec/ks/nested_types_import.kst
+1 −1 spec/ks/params_call_short.kst
+0 −16 spec/lua/test_nav_parent_recursive.lua
+0 −16 spec/lua/test_nav_root_recursive.lua
+0 −23 spec/lua/test_nested_types_import.lua
+4 −4 spec/lua/test_params_call_short.lua
+0 −12 spec/nim/tnav_parent_recursive.nim
+0 −12 spec/nim/tnav_root_recursive.nim
+0 −19 spec/nim/tnested_types_import.nim
+2 −2 spec/nim/tparams_call_short.nim
+0 −20 spec/perl/TestNavParentRecursive.t
+0 −20 spec/perl/TestNavRootRecursive.t
+0 −27 spec/perl/TestNestedTypesImport.t
+4 −4 spec/perl/TestParamsCallShort.t
+0 −15 spec/php/NavParentRecursiveTest.php
+0 −15 spec/php/NavRootRecursiveTest.php
+0 −22 spec/php/NestedTypesImportTest.php
+3 −3 spec/php/ParamsCallShortTest.php
+0 −12 spec/python/test_nav_parent_recursive.py
+0 −12 spec/python/test_nav_root_recursive.py
+0 −21 spec/python/test_nested_types_import.py
+4 −4 spec/python/test_params_call_short.py
+0 −13 spec/ruby/nav_parent_recursive_spec.rb
+0 −13 spec/ruby/nav_root_recursive_spec.rb
+0 −20 spec/ruby/nested_types_import_spec.rb
+3 −3 spec/ruby/params_call_short_spec.rb
+0 −17 spec/rust/test_nested_types_import.rs
+3 −3 spec/rust/tests/test_params_call_short.rs

0 comments on commit 28dd0dd

Please sign in to comment.