Quantcast
Channel: lpw25.net
Browsing latest articles
Browse All 6 View Live

An alternative to camlp4 - Part 1

Since its creation camlp4 has proven to be a very useful tool. People have used it to experiment with new features for OCaml and to provide interesting meta-programming facilities. However, there is...

View Article


An alternative to camlp4 - Part 2

In my previous blog post I discussed how we might use AST transformers, attributes and quotations as a simpler alternative to camlp4. While AST transformers are much simpler to use than camlp4 they...

View Article

Adding namespaces to OCaml

Contents Problems with packFormal semanticsDesign goalsDesign choicesFlat or hierarchical?Should namespaces be opened explicitly in source code?How should the compiler find modules in the presence of...

View Article
Browsing latest articles
Browse All 6 View Live