|
|
|
|
|
by anandijain
609 days ago
|
|
that's awesome, I wrote a Mathematica clone too! I think it's one of the most rewarding projects I've done. The amazing thing is how Mathematica starts working with just a few simple ideas, evaluator, backtracking pattern matcher, and a REPL. were you able to implement Condition? how advanced is the pattern matcher? I got stuck after doing Blank BlankSequence and BlankNullSequence https://github.com/anandijain/cas3.rs
https://github.com/anandijain/cas8.rs |
|
I'm new to Mathematica, so didn't know about `Condition` (thanks for mentioning it)
It was a little hard to get going, the parsing stage usually stops me because I never learned a good parser generator well enough to just start writing code. But once I got ts-parsec working, the rest was fairly easy. I think I got `D` to work within like two days. Was also very surprised how much you can do with so little!
Shoot me an email at coffeemug@gmail.com, let's chat more!