Hi, I'm a Scorpio.
Cringe-- is a language crafted upon the cringeist topics and coding practices of our modern era. Every line of code that you write will have you cringing in disgust as you attempt to write functional code. We created Cringe-- because we were tired of all the BASIC programming languages and wanted to add a little more litness to our coding practices.
Feel free to check out our pogchamp website here!
Nodejs is required to build and run this project. Make sure you have a recent version of Node, since the source code uses a fair amount of very modern JavaScript.
Clone the repo, then run npm install
.
You can then run npm test
.
To run from the command line:
node src/cringe--.js <filename> <outputType>
The outputType indicates what you wish to print to standard output:
Option | Description |
---|---|
ast | outputs the Abstract Syntax Tree |
analyzed | outputs the decorated Abstract Syntax Tree |
optimized | outputs the optimized decorated Abstract Syntax Tree |
js | The translation of a Cringe-- program to JavaScript |
- Statically Typed
- Data Structures like Python
- End your statements with two semicolons
- Compare using = and assign using ==
JavaScript | Cringe-- |
---|---|
|
|
JavaScript | Cringe-- |
---|---|
|
|
JavaScript | Cringe-- |
---|---|
|
|
JavaScript | Cringe-- |
---|---|
|
|
JavaScript | Cringe-- |
---|---|
|
|
JavaScript | Cringe-- |
---|---|
|
|