3 ms·
This is quite old. MetaOCaml has been rewritten since (the new version is linked in another comment) A better ressource to learn about multi stage metaprog in
by Drup 10y ago
This is quite old. MetaOCaml has been rewritten since (the new version is linked in another comment)
A better ressource to learn about multi stage metaprog in OCaml is Jeremy Yallop's course on advanced functional programming:
See "staging" sections: https://www.cl.cam.ac.uk/teaching/1415/L28/materials.html https://www.cl.cam.ac.uk/teaching/1415/L28/materials.html
Interactive notebook: http://ocamllabs.github.io/iocamljs/staging.html http://ocamllabs.github.io/iocamljs/staging.html
- deleted 10y ago[deleted]
- scribu 10y agoI was confused by the fact that you only linked to the first notebook. There are actually several notebooks related to staging in the course outline. Anyway, thanks!