How to make a non-english clone of CoffeeScript?
Posted
by
Ans
on Programmers
See other posts from Programmers
or by Ans
Published on 2014-06-02T22:05:47Z
Indexed on
2014/06/03
3:40 UTC
Read the original article
Hit count: 281
I want to make a non-english programming language that is identical to what CoffeeScript is to JavaScript. What I mean is that I don't want to build my own design or syntax. Just want to have a non-english programming language that compiles to JavaScript. I want to follow everything CoffeeScript fellows so I don't really want to make any design decisions.
For example:
This is coffeescript:
number = 42
opposite = true
number = -42 if opposite
I want my language to be something like:
??? = 42
??? = ????
??? = -42 ??? ???
that get compiled to:
var number, opposite;
number = 42;
opposite = true;
if (opposite) {
number = -42;
}
© Programmers or respective owner