contrast-zone / rewrite.js Goto Github PK
View Code? Open in Web Editor NEW(experimental) Minimalist s-expr based term graph rewriting system
License: MIT License
(experimental) Minimalist s-expr based term graph rewriting system
License: MIT License
It may be useful to add tests using a testing library like Jest to add some unit test. While tests may ensure that the code keeps working, it's also useful for new developers to see how to use the library by using the existing unit tests as examples of whats possible.
To be able to use the package it would be useful that its actually published on npm.
I can imagine a lot of useful use cases where I care about having a rewrite engine, but not a whole lot about a specific DSL. Let's for example say that I want to implement a new computer aided algebra system, or an optimisation in a compiler stage; in those cases I'd like to reuse an existing rewrite engine so that I don't have to reinvent the wheel, but I don't want to write a new DSL since it should work with the product I'm writing (like a CAS or a compiler).
The DSL is mostly useful for people who want to use the tool as a standalone tool and not as a library in their own application. If every JavaScript library implemented their own DSL with a custom parser then you would no longer be writing JavaScript but instead a bunch of different DSL's.
This is my biggest gripe with rewrite systems like Maude, you spend more time learning the specific language than actually using it for anything productive, and its non-obvious how to actually integrate it in a product and not just as a toy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.