Welcome to the monorepo with all the tooling that powers the Macro Playground. This started as a side project with my own build of a parser that was based on another pacakge for tokenizing that I (sort-of) made. After finding Chevrotain, I became inspired to try again with an interpreter with a better foundation for parsing gcode.
I have always wanted to be able to debug macro programs offline from a CNC machine, so therefore, I need an interpreter! I have never attempted something like this, but let's do it! ๐
Repo | Description |
---|---|
@cnc4me/macro-playground | Macro Playground Website |
@cnc4me/fanuc-macro-b | Fanuc Macro B Lexer, Parser, & Interpreter |
@cnc4me/jest-matchers | Custom Jest Matchers for testing |
@cnc4me/chevrotain-jest-extension | Custom Jest matchers for testing Chevrotain components |
@cnc4me/chevrotain-types-generator | Generate TypeScript types from a Chevrotain parser |
@cnc4me/chrysalis | Helper functions for customizing the Monaco Editor |
@cnc4me/monaco-theme-gcode | Custom syntax highlighting for the Monaco Editor |
@cnc4me/monaco-language-gcode | Custom Language for the Monaco Editor |