Skip to content

mellobacon/MadLad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MadLad

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.

Contributing

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.

Issues

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

Using & Installing

To use MadLad, make sure you have .NET 5 installed and do the following:

Not Supported Yet. Coming Soon™️

  • Clone the repo
  • Run run.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.

MadLad Syntax

MadLad's syntax is meant to be angry. It is mad after all. Common C# syntax has been replaced by its angry counterpart. This is what is supported so far.
C# Syntax var if while for true false else
MadLad Syntax WHATEVER BUTWHATFUCKINGIF DOTHETHING GOAROUNDPLS FINE NO WHATTHEFUCKELSE

REPL Arguments

#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.



This repository is a part of the The List of Developing Languages in Brackeys Server so far. Check it out for some other awesome languages

About

A developing esolang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages