- Sep 04, 2015
-
-
Thomas Wood 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'.
-
Add a new target to clean all *.cmi files. Now it is convenient to use 'make cleanall all stdlib' and then 'make clean_cmi all stdlib'.
-
-
-
-
-
Remove lex and tools directories, unused by the generator
-
Thomas Wood authored
A conflict between lex/lexer.mli and parsing/lexer.mli was causing the build failure.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Eventually the hashtable contains only the constructors, the type is still accessible in the second part of the stored tuple
-
-
-
-
-
-