Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 2.49 KB

README.md

File metadata and controls

90 lines (67 loc) · 2.49 KB

text-processor-react

Publish to github pages



Live Website


How to Install & Develope Locally

To build the examples locally, run:

yarn

yarn start

NOTE: as of 2024 node doenst support some things im using tofix that run

if you get code: 'ERR_OSSL_EVP_UNSUPPORTED' error

export NODE_OPTIONS=--openssl-legacy-provider

Then open http://localhost:3000 in a browser


how to debug regex generator grammer parser

yarn global add  nearley
nearleyc grammer.ne -o src/lib/grammer.js
nearley-railroad grammer.ne -o grammar.html
python -m http.server 80

NOTE ALL CYPRESS TESTS ARE CURRENTLY BORKED! broken :/ as of 20240718

Locally run integration tests with crypress

yarn start

in a new tab run

yarn
yarn run cypress:open

Run integration tests with crypress

yarn
yarn run cy:ci

open grammar.html in your browser to view railroad diagram of grammer

Github actions how to setup DASHBOARDRECORDKEY

TODO add

  • better css DONE
  • add localstorage DONE
  • add save file button
    • add open file
  • add pastebin save with api key
  • add cool colored text visualizer for the regex
  • chatgpt plugin with buttons for helper

links

GitHub - react-monaco-editor/react-monaco-editor: Monaco Editor for React. Monaco Editor Playground

License

MIT, see the LICENSE file for detail.