Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

Commit 931813f

Browse files
committedFeb 13, 2021
setup C project
0 parents  commit 931813f

File tree

7 files changed

+76
-0
lines changed

7 files changed

+76
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/

‎LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2021 Hein Thant Maung Maung
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is furnished
8+
to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

‎Makefile

Whitespace-only changes.

‎README.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# The MeON Interpreter
2+
3+
[![MIT license](https://img.shields.io/badge/License-MIT-green.svg)](https://lbesson.mit-license.org/)
4+
![Lines of code](https://img.shields.io/tokei/lines/github/heinthanth/meon?label=Line%20of%20Code)
5+
6+
`MeON` is the Virtual Machine for `MeON` programming language which has some unique syntax and is designed for beginner in Programming. `MeON VM` can either interpret `MeON` programming language and is distributed under [MIT License](LICENSE).
7+
8+
## Documentations
9+
10+
Right now, it's just under development. So, document is haven't written yet. But some example script that I used to test VM are located under [examples](examples/). However, I'll create a website for it!
11+
12+
## Installation
13+
14+
Well, please compile it :3 It's quite simple. You just need `gcc` and `make`.
15+
16+
First, clone the repo.
17+
18+
```shell
19+
git clone https://github.com/heinthanth/meon && cd meon
20+
```
21+
22+
Then, compile it
23+
24+
```shell
25+
make
26+
```
27+
28+
If there's no error, VM is located under [build](build/) and can be executed.
29+
30+
```shell
31+
build/meon --version
32+
```
33+
34+
## Common Questions
35+
36+
Here are some FAQ about `MeON` project.
37+
38+
- WHY IT'S NAMED `MeON` ?
39+
40+
- it's from **Melon** and then, I removed **L**.
41+
- It's like `Neon`, `Xeon` and sounds sweet.
42+
43+
- WHY THE FU\*K I CREATED THIS ?
44+
- No reason! I just want to learn something new by creating something new.
45+
- I gain massive knowledge about **How CPU works**, **How machine interpret and execute various instructions and jump to and from**.
46+
47+
## License
48+
49+
The `MeON` Interpreter is licensed under MIT. See [LICENSE](LICENSE) for more details.

‎examples/hello.meon

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
start
2+
println("Hello, World!");
3+
stop

‎includes/common.h

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef meon_common_h
2+
#define meon_common_h
3+
4+
#endif

‎src/main.c

Whitespace-only changes.

0 commit comments

Comments
 (0)