- Sep 16, 2015
-
-
Cesar Roux Dit Buisson authored
We can now run the calc example from the ./run.sh script. Note how when generating the tree we must take into account annotation names used in the ml code.
-
- Sep 15, 2015
-
-
Cesar Roux Dit Buisson authored
-
- Sep 14, 2015
-
-
Cesar Roux Dit Buisson authored
Slightly hacky, force the = function syntax into a match. Also rewrite variables using "'" as javascript doesn't support that.
-
Thomas Wood authored
-
Cesar Roux Dit Buisson authored
-
Cesar Roux Dit Buisson authored
I am unable to replicate the error on a Mac, but this rewritten find_module_path should look for both properly capitalized and lowercased module names.
-
Thomas Wood authored
-
Cesar Roux Dit Buisson authored
-
Thomas Wood authored
-
- Sep 11, 2015
-
-
Thomas Wood authored
-
Thomas Wood authored
-
Cesar Roux Dit Buisson authored
-
- Sep 10, 2015
-
-
Thomas Wood authored
-
Thomas Wood authored
-
Thomas Wood authored
-
Cesar Roux Dit Buisson authored
-
Thomas Wood authored
-
- Sep 09, 2015
-
-
Cesar Roux Dit Buisson authored
-
Thomas Wood authored
-
Thomas Wood authored
-
Cesar Roux Dit Buisson authored
- Sep 08, 2015
-
-
Cesar Roux Dit Buisson authored
-
Cesar Roux Dit Buisson authored
Refering to a module more than once in a series/chain of open is still an issue. This is the start of a possible fix by keeping a list of all succesefully added modules.
-
- Sep 07, 2015
-
-
Cesar Roux Dit Buisson authored
-
Cesar Roux Dit Buisson authored
-
Cesar Roux Dit Buisson authored
Thomas' commit was nearly there, and his intuition spot on. It seems that trying to update module_code inline with the new module code added to the front resulted in the other created modules being dropped from the list. OPening a module multiple times may still be an issue (I haven't found a check against mod_gen)
-
- Sep 04, 2015
-
-
Thomas Wood authored
-
Cesar Roux Dit Buisson authored
-
Cesar Roux Dit Buisson authored
js_of_structure_item now goes through the entire list provided by Tstr_type tl. An example of recursive module use also included (tests/types.ml)
-
- Sep 02, 2015
-
-
Cesar Roux Dit Buisson authored
-
- Sep 01, 2015
-
-
Thomas Wood authored
-
- Aug 01, 2015
-
-
Thomas Wood authored
This Perl script is absolutely horrific, but was quite fun to write. The comments explaining how it works are considerably longer than the implementation(!)
-
You can run the "mini" demo by launching navig.html in whatever browser you like as long as you have enabled js. The building of tests in broken due to module dependencies, I have inserted a quick and dirty hack. Still need to automate some things, log is not generated everywhere it should and I did some things manually to get the demo run.
-
-
1. Now, the call to ./main.byte produces three files: - a (buggy) logged version - a version without annotation - the Format that is being used (for debug purpose). 2. Modules are quite soapy to handle: - Name shadowing (supported). - Inclusion of opened modules (no log information is included) - Accessed but not opened modules (kind of break the default parameters handled with attributes).
-
-
This times modules "works" but there is still far from being perfect. Even names from opened module should be accessed with their long names which is not pleasant and could break a lot of code.
-
-
To play with: ./main.byte tests/stack.ml ./main.byte tests/calc.ml -I tests And behold: <cmd> tests/calc.js where <cmd> is something like `nl', `cat [-n]', `less', `more'.
-