Developing
Developing for Cheddar development was designed to be as easy and quick to make as possible. Unfortunately, the workings can be confusing to someone not familiar with how cheddar works. This chapter will cover how Cheddar works, and how to develop for it. If you have any questions at all, please do not hesitate to ask on Slack, Stack Exchange Chat, or Gitter.
Downloading
Info::Windows UsersIf you are on Windows you can install
makefrom here if you haven't already. Make suremakeis in your PATH, if it isn't that's okay, but you'll have to manually build using<location of make> build
To download the source make sure you have node, npm, and make installed. Once you've done that clone the develop branch from Github:
$ git clone -b develop http://github.com/cheddar-lang/Cheddar.gitnow in that directory, you're going to see a src/ folder. That is where the source code is.
Before developing, make sure you run:
$ npm installto install the required dependencies
Running
To run it, first run make build:
$ make buildthis will compile the code. If it doesn't error, you can run it:
$ node ./dist/cli/cheddar.jsLast updated
Was this helpful?