Jan MiksovskyArchive2025 AboutFeedSearchContact

Making Origami expressions easier to learn and use

Over this summer I’ve shifted the Origami expression language to be a closer dialect of JavaScript expressions. Feedback from early adopters indicated that some differences from JavaScript created trouble; eliminating those would improve the language.

Origami is now essentially JavaScript expressions plus paths, with a few additional syntactic features that make it easier to define a site.

The language supports a conceptual model called Content/Transformation you may find helpful in thinking about how to build a site.

The syntax changes to the language included:

Origami is still missing some esoteric JavaScript expression features (e.g., function parameter destructuring), but those are all on the list tackle. The goal is that you should be able to copy any JavaScript expression and evaluate it as an Origami expression.

Why introduce an alternative expression language to JavaScript?

Watch the motion comic introducing the language, or walk through how to create a basic blog.