mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
38db03ad7f
Summary: Bytecode generation entry point `compile_ffi::compile_from_text_cpp_ffi(...)` and a driver to exercise it: `hh_single_compile_cpp`. What we get here is a C FFI for generating HHAS from source text. We can tweak the interface as we need to going forward but this will do for a first version and I think has roughly feature parity with the OCaml FFI: - `compile_ffi.rs` defines the function; - `compile_ffi.h` defines the C interface; - `hh_single_compile_cpp.cpp` provides a C++ CLI that calls the function. Reviewed By: shiqicao Differential Revision: D25979967 fbshipit-source-id: 4b46f9af23c61150dda6c33f9fa14e2c455c54c2 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |