Writing a Wisp (https://srfi.schemers.org/srfi-119/) preprocessor as UNIX ed script. I believe this is entirely possible, given a bit of craziness and loads of regex.
Writing a Wisp (https://srfi.schemers.org/srfi-119/) preprocessor as UNIX ed script. I believe this is entirely possible, given a bit of craziness and loads of regex.
Artyom Bologov (t?he(y|m)?)
in reply to Artyom Bologov (t?he(y|m)?) • • •Well that certainly is unexpected. I completed a preprocessor that generates the correct Scheme code in 99% of cases (hey, we’re talking non-recursive, non-bactracking, POSIX Basic Regex, so it should’ve been worse!)
In 50 lines (40 without comments, because I’m serious on documentation). Just for the comparison: Python version is 400 LoC. Scheme version is 800. Ed one (again) is 50.
What?!
Artyom Bologov (t?he(y|m)?)
in reply to Artyom Bologov (t?he(y|m)?) • • •Artyom Bologov (t?he(y|m)?)
in reply to Artyom Bologov (t?he(y|m)?) • • •Devine Lu Linvega
in reply to Artyom Bologov (t?he(y|m)?) • • •Artyom Bologov (t?he(y|m)?)
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Artyom Bologov (t?he(y|m)?) • • •sure! https://faq.scroll.pub/
It's just one of the many i-expression formats like srfi-49
https://wiki.xxiivv.com/site/i-expressions.html
Particles Frequently Asked Questions
faq.scroll.pubArtyom Bologov (t?he(y|m)?)
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Artyom Bologov (t?he(y|m)?) • • •SΛDIΣL :verified_multi:
in reply to Devine Lu Linvega • • •