Error while linking /usr/local/lib/ocaml/stdlib.cmjsa(Lexing):
The external function `caml_new_lex_engine' is not available
Is it possible to use ocamllex with ocamljs?
peter
halacsy
On the other hand, the performance would be pretty bad compared to the
built-in regex functions in Javascript, so it might be worthwhile to
use these directly in your application, with the javascript library in
ocamljs.
Out of curiosity, what is the application?
> --
> You received this message because you are subscribed to the Google Groups "ocamljs discuss" group.
> To post to this group, send email to ocamljs...@googlegroups.com.
> To unsubscribe from this group, send email to ocamljs-discu...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ocamljs-discuss?hl=en.
>
>
Out of curiosity, what is the application?
You could try ulex:
http://www.cduce.org/download.html#side
which is pure OCaml. I haven't tried it though so I don't know if it would work.
And of course ocamlyacc has the same problem---it uses a C function to
run the parser.