|
|
|
|
|
by coffeemug
609 days ago
|
|
Very cool! Pattern matcher isn't very advanced, I only spent maybe two days on it. Only supports Blank, Pattern, and PatternTest. (Also doesn't handle Flat, so for example in Mathematica `Times[x_, y_]` will match `Times[a, b, c]`, but it currently doesn't in ts-wolfram.) 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! |
|