Meme-lang is a programming language that compiles to javascript. It runs in browser.
You can use the online version.
Alternatively,
- Open index.html in browser.
- Write meme-lang code in the left code-editor.
- Click on the
Runbutton to run the code. - The output will be shown in the right textarea.
If in doubt, just type normal javascript code, the autocomplete will help you.
-
This was made as a fun project. It was inspired by bhai-lang. The idea of using Hindi instead of English is taken from that.
-
Meme-lang additionally show memes if your code has errors. e.g.
Syntax errorshows this famous meme "Kuch to gadbad hai Daya" from CID.
- The memes are taken from a simple google search.
- Syntax highlighting
- Code formatting
- Autocomplete
- Error reporting
- Meme reporting
- More syntax improvements
- it replaces all the Hindi words with their corresponding javascript keywords
- some common code parts are also given a hindi word
e.g.
i badhaocompiles toi+=1 - there are a few convenience functions:
print- prints the argument to the outputinput- takes input from the userinputf- takes number input from the user
- there is a global variable
REPLYwhich stores the input given by the user;jo bhiis an alias forREPLY - usual javascript code can be intermixed with meme-lang code
- Hello world program in meme-lang
bolo("Hello world")
- A program to take input from the user and print it
puchho("Enter your name") bolo("Hello ", jo bhi)
Soham Korade
