I'm trying to use the campl4 extension for bolt (http://bolt.x9c.fr/)
and find that I can't use string expressions but have to use string
literals.
For example this works:
let _ = Printf.sprintf "Some message" in
LOG "asdsa" LEVEL TRACE;
But this fails to compile:
let s = Printf.sprintf "Some message" in
LOG s LEVEL TRACE;
With this error:
Parse error: [expr level ;] expected after "in" (in [expr])
Preprocessing error on file BPlusTree.ml