Commit Graph

9 Commits (f699dcac94622b059fde0a6e2f6a8f73732ed758)

Author SHA1 Message Date
radare bf9eefa694
parser: resolve optional enum type 2020-01-31 16:00:31 +01:00
Alexander Medvednikov 7ab993c218 sum types 2019-12-23 06:14:31 +03:00
Alexander Medvednikov 31b7991a93 negative enum vals + `[10]C.Foo` fix 2019-12-22 00:17:13 +03:00
Alexander Medvednikov 3d1db3519d test enum printing 2019-12-18 05:45:48 +03:00
Alexander Medvednikov 2bd2501dc0 fix new enums in tests 2019-10-30 16:38:47 +03:00
Alexander Medvednikov bac690bbc8 parser: replace the switch statement in `parse()` 2019-10-24 15:50:46 +03:00
Alexander Medvednikov 3a929faf26 enums: make `in` work without specifying the full type 2019-10-24 15:41:34 +03:00
Alexander Medvednikov 560ae9352c nice enum works 2019-10-24 15:41:34 +03:00
Delyan Angelov 53c64abdeb compiler: make compiler an ordinary vlib/compiler module
* Move compiler/ under vlib/compiler/ .

* Add a minimal compiler/main.v driver program.

* Cleanup compiler/main.v .

* Make most compiler tests pass again.

* Apply the fix by @joe-conigliaro , so that the rest of the compiler tests are fixed too.

* Thanks to @avitkauskas, now the vlib/vcompiler/tests/str_gen_test.v test does not need to be special cased anymore.

* Reapply @joe-conigliaro fix for vgen.
2019-10-13 16:37:43 +03:00