Skip to content

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 to cadet-frontend/node_modules/js-slang/dist`
  • Start frontend using npm start
Clone this wiki locally