User loginNavigation 
Rewrite.js – a minimalist sexpr based term rewriting systemRewrite.js is estimated to be a Turing complete, sexpression based term rewriting system. It may be used as a curiosity computing platform, formula application system, proof checker, problem solver, and pretty much anywhere where any kind of computation is required, as long as slower performance on intensive computations doesn't go beyond limits of user patience. Rewrite.js is designed as a creation with only one kind of rules: substitution rules. Being such a minimalist creation, complete rewrite.js implementation fits in a bit more than 400 Javascript lines of code. To get a feeling about rewrite.js appearance, this is a math expression rewriting code in rewrite.js:
The above example evaluates to:
Rewrite.js is hosted on https://github.com/contrastzone/rewrite.js with convenient online playground. Aside from criticism, I'm particularly interested in possible rewrite.js usage ideas. By Ivan V. at 20221227 19:13  LtU Forum  previous forum topic  next forum topic  other blogs  3644 reads

Browse archives
Active forum topics

Recent comments
22 weeks 6 hours ago
26 weeks 2 days ago
27 weeks 6 days ago
27 weeks 6 days ago
30 weeks 4 days ago
35 weeks 1 day ago
35 weeks 1 day ago
35 weeks 4 days ago
35 weeks 4 days ago
38 weeks 3 days ago