MadLad is an esolang (a joke programming language) meant to be similar to C# but with a twist. MadLad is a very angry language and will yell at you for everything. Featuring screaming syntax and unhelpful error messages, this language hates everything and will express it with rage.
MadLad is a work in progress. Feel free to star the project if you want to follow the development.
If you wish to contribute please do the following:
- Fork the repo,
- Make the changes and commit them to the forked repo,
- Make a pull request,
- I will review them and consider the changes.
If you have issues, please do the following:
- Create an issue with a short, yet descriptive title
- In the issue, please explain what the issue is in depth and how to recreate it
Not Supported Yet. Coming Soon™️
Clone the repoRunrun.cmd
. If nothing goes wrong you should be greeted by the REPL prompt. This is where you can play around with current features of MadLad. Use should be familiar if you use C# or another similar language.
C# Syntax | var | if | while | for | true | false | else |
---|---|---|---|---|---|---|---|
MadLad Syntax | WHATEVER | BUTWHATFUCKINGIF | DOTHETHING | GOAROUNDPLS | FINE | NO | WHATTHEFUCKELSE |
#help
: to show the supported commands.
#DEBUG
: to go into debug mode. Debug commands will become useable in this mode. To exit debug mode, just type this command again.
#clear
: clears the screen.
#exit
: exit the REPL.
The following commands work in DEBUG mode only
#showtree
: shows the syntax tree representing what is going on under the hood.
#showlexer --basic
: shows the basic lexer. There will be no evaluation output. Just the lexed tokens with minimal info. Only shows tokens you can see.
#showlexer --full
: shows the full lexer. Unlike the basic lexer, this lexer shows all tokens. Whitespace, EOF tokens, all of them - plus the details of what makes up the token.
#reset
: resets the scope so that all variables are removed from the stack. You can start with fresh global variables.