Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minoritea/ramen.nim

Ramen is a programming language
https://github.com/minoritea/ramen.nim

esolang esoteric-language esoteric-programming-language programming-language ramen ramen-lang

Last synced: 2 days ago
JSON representation

Ramen is a programming language

Awesome Lists containing this project

README

        

# Ramen
Ramen is a programming language.

Original version(written in Go) is [here](https://github.com/akanoren/ramens)

## Install
You need nim and nimble to install the binary.
```
nimble install https://github.com/minoritea/ramen.nim
```

## Sample code
Clone this repository to somewhere, and run the below command in the repository.

```
ramen examples/hello.ramen
```

## Syntax
A sequence of '🍜' represents a command of the language.
Other characters are delimiters or comments.

## Commands
There are only eight commands for the language(all commands are the same as Brainf*ck's one).

1. 🍜
Increment the value to which the program pointer points

2. 🍜🍜
Decrement the value to which the program pointer points

3. 🍜🍜🍜
Increment the program pointer

4. 🍜🍜🍜🍜
Decrement the program pointer

5. 🍜🍜🍜🍜🍜
Read a unicode character from Stdin and set the value to which the program pointer points to it

6. 🍜🍜🍜🍜🍜🍜
Write the value to which the program pointer points to Stdout

7. 🍜🍜🍜🍜🍜🍜🍜
If the value to which the program pointer points is zero, jump to the next '🍜🍜🍜🍜🍜🍜🍜🍜'

8. 🍜🍜🍜🍜🍜🍜🍜🍜
If the value to which the program pointer points is not zero, jump to '🍜🍜🍜🍜🍜🍜🍜' which most recently appeared