Mal – Make a Lisp
github.com
Mal – Make a Lisp
1–10 of 41 posts
Re: Mal – Make a Lisp
#2 APL/J/Kx
Verilog
Fortran
LISP 1.5Re: Mal – Make a Lisp
#3Re: Mal – Make a Lisp
#4I think with Regex101 in my back pocket I'll give it another try.
Re: Mal – Make a Lisp
#5I attempted this a few years back, didn't get far before I got hung up on the regular expression(s) required for parsing. Silly to get stopped there, but there was just enough friction between the specified expression, the language I was using (Erlang), and my understanding of the subtleties that I punted. I think with Regex101 in my back pocket I'll give it another try. https://regex101.com
Re: Mal – Make a Lisp
#6I attempted this a few years back, didn't get far before I got hung up on the regular expression(s) required for parsing. Silly to get stopped there, but there was just enough friction between the specified expression, the language I was using (Erlang), and my understanding of the subtleties that I punted. I think with Regex101 in my back pocket I'll give it another try. https://regex101.com
Regex to parse lisp expressions?
But yeah, that shouldn't be where you get stuck.
Re: Mal – Make a Lisp
#7I attempted this a few years back, didn't get far before I got hung up on the regular expression(s) required for parsing. Silly to get stopped there, but there was just enough friction between the specified expression, the language I was using (Erlang), and my understanding of the subtleties that I punted. I think with Regex101 in my back pocket I'll give it another try. https://regex101.com
Re: Mal – Make a Lisp
#8I attempted this a few years back, didn't get far before I got hung up on the regular expression(s) required for parsing. Silly to get stopped there, but there was just enough friction between the specified expression, the language I was using (Erlang), and my understanding of the subtleties that I punted. I think with Regex101 in my back pocket I'll give it another try. https://regex101.com
Re: Mal – Make a Lisp
#9Earlier quoted context omitted.
Regex to parse lisp expressions?
Regexes are at least useful for parsing numbers and symbols. But yeah, that shouldn't be where you get stuck.
Step 0, so I didn't get very far.
https://github.com/kanaka/mal/blob/master/process/guide.md#s...
Re: Mal – Make a Lisp
#10I attempted this a few years back, didn't get far before I got hung up on the regular expression(s) required for parsing. Silly to get stopped there, but there was just enough friction between the specified expression, the language I was using (Erlang), and my understanding of the subtleties that I punted. I think with Regex101 in my back pocket I'll give it another try. https://regex101.com
If you are using erlang you should be using pattern matching not regex. Erlang/Elixir are one of the easiest languages to build parsers in with their binary string pattern matching.
It's a big step.
https://github.com/kanaka/mal/blob/master/process/guide.md#s...