Commit Graph

15 Commits (6e130cd446ec17fe0c0ba16a282f13320693c609)

Author SHA1 Message Date
Alexander Medvednikov 6210984c97 run vfmt 2019-12-20 02:09:56 +03:00
Delyan Angelov fc64238a39 testing: allow tests to import the same module with no custom options 2019-12-13 19:28:39 +03:00
Alexander Medvednikov a57e29dfc5 os: replace dir_exists with is_dir; file_exists() => exists() 2019-12-04 23:17:45 +03:00
prime31 ff216e7d50 append module name for module search path 2019-11-30 11:17:37 +03:00
prime31 208f67132d added -user_mod_path command line option to add a module search path 2019-11-28 13:04:57 +03:00
Ned Palacios bac3c0a63e compiler: add "modules/ " folder for searching local modules 2019-11-26 06:45:26 +03:00
Delyan Angelov f7c103d5d2 compiler: remove legacy current workdir from module search 2019-11-25 11:32:11 +03:00
Delyan Angelov 5794594e19 compiler: fix vpath module search order regression 2019-11-24 19:39:30 +03:00
Delyan Angelov f42be0622e examples/game_of_life: add a GUI frontend; compiler: local modules relative to a main module 2019-11-23 16:33:25 +03:00
joe-conigliaro 8fbfceed30 compiler: generics - support across modules/files 2019-11-22 08:22:11 +03:00
gabixdev 76cd70c232 compiler: add -vpath and -vlib_path options 2019-11-21 15:06:19 +03:00
joe-conigliaro 5f1e634d82 compiler: improve typo detection, support all types and fn definitions 2019-11-04 04:59:28 +03:00
Alexander Medvednikov 9044f1437c v doc 2019-10-30 17:07:41 +03:00
joe-conigliaro 7d418e9105 parser: cleanup & reuse 2019-10-25 16:34:12 +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