mation-spec
Chevrotain
mation-spec | Chevrotain | |
---|---|---|
4 | 3 | |
6 | 2,403 | |
- | 1.1% | |
4.4 | 6.7 | |
4 months ago | 5 days ago | |
JavaScript | TypeScript | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mation-spec
-
Show HN: FoldMation – An Interactive Origami Learning and Creation Application
Hi, I've created an application where you can follow step by step origami fold instructions, and a Creator where you can make these interactive folds.
On comparing to video instructions, you have the ability to quickly skip/rewind steps and replay a complicated step many times.
On the creation side, there have been one or two attempts at this before, but those solutions rely on mouse drags as the user interface. This greatly limited the kinds of folds possible. The foldMation Creator uses commands, keywords and values to compose a domain specific language/step and provides a (relatively speaking) easy to use user interface to compose the steps.
For those interested in using the Creator, please go through the tutorial at the top of the create page.
Btw, the DSL for foldMation uses https://github.com/mationai/mation-spec. I created it since I couldn't find anything out there that is similar, allowing me to specify a well structured data with English-like readable syntax.
Let me know what you think?
The DSL for foldMation uses https://github.com/mationai/mation-spec . I created it since I couldn't find anything out there that is similar, allowing me to specify a well structured data with English-like readable syntax.
-
Ohm: A library and language for building parsers, interpreters, compilers, etc.
Ohm is a wonderful tool. I used it to create mation-spec [0], a readable structured configuration and specification format to automate and run code. I look hard trying to find something like it before giving up and creating one myself with the help of Ohm. The mation-spec is the basis of an origami fold simulation language to describe and simulate origami folds. PM me if you like to see it before I post the simulator on HN.
[0] https://github.com/mationai/mation-spec
-
Replit's new Code LLM was trained in 1 week
Have you thought of finding or creating something like this [0]?
I created this as the basis for my origami folding descriptive language. I tried to find something similar, requirements being both well structured and English-like but couldn't find any, so I created it.
The origami folding app will hopefully be out in 2 weeks, so you can see how it's used.
[0] https://github.com/fuzzthink/mation-spec
Chevrotain
-
Ohm: A library and language for building parsers, interpreters, compilers, etc.
How does this compare with Chevrotain[1]?
More specifically, can I build lexers with Ohm? Can it generate a syntax diagram from a grammar?
[1]: https://github.com/chevrotain/chevrotain
-
Introduction to Lexers, Parsers and Interpreters with Chevrotain
To learn more about Chevrotain visit: https://chevrotain.io/
-
Why are you building a programming language?
I don't think I'll have time to make one any time soon, unfortunately. My original plan was to write a compiler in TypeScript using Chevrotain, and see if it's possible to compile down to TypeScript's AST and feed that into its own compiler programmatically. Basically piggybacking on Microsoft's hard work (work smart, not hard). I don't know if it's possible, but it's what I'd try first.
What are some alternatives?
IF
PEG.js - PEG.js: Parser generator for JavaScript
ReplitLM - Inference code and configs for the ReplitLM model family
nearley - 📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.
stat4701 - Final Project
Jison - Bison in JavaScript.
code-align-evals-data
markdown-it - Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
fauxpilot - FauxPilot - an open-source alternative to GitHub Copilot server
parsec 🌌 - 🌌 Tiniest body parser in the universe. Built for modern Node.js
trax - Trax — Deep Learning with Clear Code and Speed
csv-parser - Streaming csv parser inspired by binary-csv that aims to be faster than everyone else