3 ms·
I designed a similar but terser language in 2012: The examples give the gist: http://chubot.org/annex/cre-examples.html http://chubot.org/annex/cre-examples.ht
by chubot 10y ago
I designed a similar but terser language in 2012:
The examples give the gist:
http://chubot.org/annex/cre-examples.html http://chubot.org/annex/cre-examples.html
More justification: http://chubot.org/annex/intro.html http://chubot.org/annex/intro.html
doc index: http://chubot.org/annex/ http://chubot.org/annex/ (incomplete)
I showed it to some coworkers in 2013 and got some pretty good feedback. Then I got distracted by other things. One of the issues is that I learned Perl regex syntax so well by designing this language that I never needed to use it again :)
I plan on coming back to it since I'm writing a shell now, and I can't remember grep -E / sed -r syntax in addition to Perl/Python syntax.
SRL is the same idea, but I think it is way too verbose, which it appears a lot of others agree with.
If anyone is interested in the source code let me know! It was also bootstrapped with a parsing system, which worked well but perhaps wasn't "production quality". So I think I will reimplement CRE with a more traditional parsing implementation (probably write it by hand).