I would like to get the Abstract Syntax Tree (AST) from a C code, into an OCaml value, so that I can further process the parsed code with a plain OCaml program.
(Probably just knowledge of the Unix library is enough to answer this, so please read on if you don\'t know JoCaml.)
I want to learn and use ML but there are many compile开发者_如何学Gors out there. I need: speed low memory usage
I\'m working with Ocaml\'s built-in Map library for a problem set, and I\'m having trouble accessing 开发者_Go百科the datatype of a map itself. This is supposed to be the third implementation of a dic
I wanted to see the type of the multiplication function (*), so I tapped it into the OCaml toplevel. # (*)
I\'m looking into OCaml for the first time, having a bit of background with F# and Haskell. As such, a开发者_StackOverflow lot is familiar-looking, but one thing that isn\'t is the concept of \"open\"
Given these F# type declarations... type Message = MessageA MessageB MessageC MessageD type State = {
I tried to build OCaml batteries included 1.3.0 on my Mac OS X 10.6.6 (MacBook Air3,2) but couldn\'t.
EDIT: After spending several hours researching this, I don\'t think I\'m going to find anything that will actually end up saving me time compared to the amount of time and effort of finding suitable l
I would like to write an OCaml module having a compile function which will take a string containing an OCaml program and output the outcome of compilation as either Correct or Error, and in the Error