An editor/IDE for editing and executing lexy-language scripts. Check the lexy-language or the online demo to understand the philosophy and use cases of Lexy.
Features:
- Interactive introduction to the lexy language
- View/edit lexy scripts and examples
- Execute lexy scripts in real-time
- View parser/compilation logging in real-time
- View execution logging in real-time
- Real-time execution of automated specifications, called scenarios in the lexy language
Limitation: The current editor is a demo (proof of concept) and it does not use a back-end, so it can't load and save files from the file system or a git repository. It includes all the example lexy script files in the js bundle for demonstration purposes. Changes are stored in the local storage of the browser.
At the moment the lexy-compiler is added as local npm package. Run 'yarn update-lexy' to update the package from the source. Ensure lexy-typescript compiles correctly before running the command. Repositories lexy-typescript and lexy-editor should be in the same parent folder for the command to work.
Ensure node.js (v18 or above) is installed. Tested with node.js v18.20.8.
Install packages
yarn install
Run editor locally
yarn start
Check lexy-language for more information about how to contribute.
- Editor: add code completion for enum, table and complex type members
- Editor: add a view to add/edit tables
- Editor: add a view to add/edit scenarios based on the current parameter and result variables of a function
- Editor: make a version that runs online as a public demo/playground/ide, and a version that can be used locally for editing files on the local filesystem
- Code: Fix App.test.tsx, add more component tests
- Packages: use npm package from npm repo. It would be nice if all tgz files were erased from the whole git-repository history!
- Packages: update packages and fix warnings (yarn install)
- Version control: Implement usage of git branching to add versioning of lexy scripts
- Integration: Add support for git submodules to support including existing lexy scripts
- Deployment: Publish lexy-typescript as npm package 'lexy-compiler' and include it from the npm repository
- Back-end: Develop a backend (preferably in node.js or dotnet) so it can run locally as an editor and publicly as a playground application.
..todo..