Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Michael Kohl 馃嚘馃嚬馃嚬馃嚟
@citizen428@chaos.social  路  activity timestamp 2 weeks ago

A couple of years ago I wrote an article about #ocaml extension points/PPX for a magazine that no longer exists. It's been offline for a while now and is unlikely to ever come back, so I decided to republish it on my blog:

https://citizen428.net/blog/introduction-ocaml-extension-points/

Introduction Ocaml Extension Points - citizen428.net

Note: This article was originally written for Human Readable magazine. That site no longer exists, so I decided to republish it on this blog. Metaprogramming is a technique in which programs modify themselves at compile or run time. This can be achieved in various ways, for example through reflection (C#, Java, Ruby, Smalltalk), templates (C++, D, Template Haskell), or macros (Lisp, Elixir). The OCaml language offers a distinct approach to compile-time code generation in the form of extension points and AST rewriters, which we鈥檒l explore in this article.
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login