4 ms·
Though Lisp does not use the kind of a rule-based term rewrite system for computation, like Mathematica.
by lispm 4y ago
Though Lisp does not use the kind of a rule-based term rewrite system for computation, like Mathematica.
- eschaton 4y agoThat depends entirely on your definitions when you’re dealing with a listener, especially a sophisticated one like the Symbolics Dynamic Listener or the CLIM Listener. If you want the forms entered to go through term rewriting before or as part or evaluation, that’s entirely feasible.
- lispm 4y agoOne can develop rule-based term rewriting systems in Lisp (and integrate them) and there are some, but itself is not defined or implemented as such. That can be seen by the clumsy implementation of lexical scope (renaming vars, etc.) in Mathematica or the limited compilation of the Mathematica language.