https://github.com/mizukisonoko/yokan
Yokan is a thick, jellied dessert made of red bean paste, agar, and sugar. It is usually sold in a block form, and eaten in slices.
https://github.com/mizukisonoko/yokan
Last synced: 4 months ago
JSON representation
Yokan is a thick, jellied dessert made of red bean paste, agar, and sugar. It is usually sold in a block form, and eaten in slices.
- Host: GitHub
- URL: https://github.com/mizukisonoko/yokan
- Owner: MizukiSonoko
- Created: 2015-07-16T04:27:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-10T02:11:48.000Z (over 9 years ago)
- Last Synced: 2025-01-15T06:53:13.422Z (5 months ago)
- Language: C++
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yokan
====Yokan is a thick, jellied dessert made of red bean paste, agar, and sugar. It is usually sold in a block form, and eaten in slices.
## Description
This is simple compiler.## Setup
```bash
$ git clone https://github.com/MizukiSonoko/yokan
$ cd yokan
$ make
```## Usage
```bash
$ ./yokan
```## Rules
###Basic- FIN
```
::= "FIN"
```- NUMBER (int)
```
::= [0-9] {[0-9]}
```- NUMBER (float)
```
::= .
```- CHAR
```
::= [A-Za-z] {[A-Za-z]}
```- Name
```
::= { | }
```### Rules
- Number
```
::= "." |
```- List
```
::= "[" + + "]" | "[" + + "]"
```- Operator
```
::= "+" | "-" | "*" | "/"
```- BinaryExpr
```
::= |
```- Identifire
```
::= |
```- ListVariableDecl
```
::= "," |
```- FunctionDecl
```
::= "def" "(" "):" | "def" "():"
```- ConditionExpr
```
::= "==" | "!="
```- IfStatement
```
::= "if" ":"
```- Statement
```
::= | | |
```- RightValue
```
::= | |
```- VariableDecl
```
::= "="
```## Licence
MIT
## Author
[MizukiSonoko](https://github.com/MizukiSonoko)