Hello! This is the main directory for BuckleScript. jscomp
is just a name that mirrors OCaml's own bytecomp
and asmcomp
(bytecode compilation and native compilation logic respectively). For building it, please see CONTRIBUTING.md.
A copy of standard library from OCaml distribution(4.02) for fast development, so that we don't need bootstrap compiler, everytime we deliver a new feature.
- Files copied
- sources
- Makefile.shared Compflags .depend Makefile
- Patches Most in Makefile.shared
The directory containing unit-test files, some unit tests are copied from OCaml distribution(4.02)
- ext (portable)
- common (portable)
- bsb
- depends (portable)
- core
- bspp
- outcome_printer
- stubs
- super_errors
- syntax
ocamlopt.opt -I +compiler-libs unix.cmxa ./stubs/ext_basic_hash_stubs.c stubs/bs_hash_stubs.cmx ocamlcommon.cmxa ext.cmxa common.cmxa depends.cmxa core/bspack_main.cmx -o bspack.dev