-
Notifications
You must be signed in to change notification settings - Fork 174
Modify the Programming Language
martin-henz edited this page Aug 5, 2019
·
8 revisions
You can change the programming language implementation that is used by the Cadet Frontend (for example the Playground), by giving it a different js-slang distribution. In order to run your own, (possibly) modified cadet frontend using your own (possibly modified) language implementation, do the following:
- Follow the cadet-frontend Installation README
- Change your frontend if needed; build the fontend if needed
- Install
yarn - Install js-slang
- Change your js-slang if needed
- Build js-slang using
yarn build - Copy over folder
js-slang/dist tocadet-frontend/node_modules/js-slang/dist` - Start frontend using
npm startTo change the language implementation in the production system, forkjs-slangand usepackage.jsonincadet-frontendto point to your fork.