Post B6CJVNoOneQn3livdw by b@mrrp.place
(DIR) More posts by b@mrrp.place
(DIR) Post #B6CJVNoOneQn3livdw by b@mrrp.place
0 likes, 0 repeats
i'm kinda surprised no one seems to have written anything similar to ometa/ohm for ocaml? the only thing i can find is a github repo from 14 years ago that depends on camlp4
(DIR) Post #B6CJVO1W0svHiRrP5U by icedquinn@blob.cat
0 likes, 0 repeats
@b ometa hasn't been implemented much in general. i think PEGs are it, as there's more implementations of LPeg's parsing algorithm overall. Rust has one, Janet and Red have one, and i'm curently stuck at half of one for Nim.I did hand roll a parser for OMeta specs, but OMeta itself isn't fully capable of parsing programming languages. Its missing some stuff you have to add in via fork.