Konstantin A. Olkhovskiy
Konstantin A. Olkhovskiy
Changelog looks pretty impressive, but so far is unreleased. Are there any plans to release this fork under different name on opam? Also, what are the future plans for this...
This PR adds an "exec" backend, which allows rehp to call external binary to produce final output.
Was introduced during refactoring to specialized Rehp tree node for boolean Not operation.
Fixes https://github.com/jordwalke/rehp/issues/53.
While this works for JS, and probably for PHP, it won't work with more typed languages like Golang. This should be real runtime primitive.
I noticed that sometimes there are expression statements emitted with single expression inside being `EVar`, specifically for variable `switch__0`. Not sure if those are some artifacts and can just be...
`generate.ml` emits very weird-looking code for converting to boolean with the following helper: ``` let bool e = J.ECond (e, one, zero) ``` Examples of use: ``` register_bin_prim "caml_eq_float" `Pure...
I'm trying to build f0bb859d757, and get the following error: ``` ocamlopt rehack_tests/calls/.Calls.objs/native/calls.{cmx,o} (exit 2) (cd _build/default && /home/vagrant/git/ocaml/3rdparty/rehp/_opam/bin/ocamlopt.opt -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58 -g -I rehack_tests/calls/.Calls.objs/byte...
I'm still dreaming about Go backend, and got an idea - since Golang interfaces nicely with C, may be there is little benefit in reimplementing C stubs in Go, but...