O
O
Oblacko2015-10-16 20:33:48
JavaScript
Oblacko, 2015-10-16 20:33:48

How to create your own metalanguage in JavaScript?

I want to create my own metalanguage (ala Jade, but in a simpler way). How are these things done, where to start, what to read?
How to parse this code, how to build an AST tree and then how to generate html from it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Super User, 2015-10-16
@sergeystepanov1988

https://developer.mozilla.org/en-US/docs/Web/JavaS...
www.2ality.com/2014/12/es6-proxies.html
blog.keithcirkel.co.uk/metaprogramming-in-es6 -symbols

A
Alexander Taratin, 2015-10-16
@Taraflex

pegjs.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question