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

https://github.com/newlandtv/j255_language

I made a custom programming language in python.
https://github.com/newlandtv/j255_language

j255 programming-language python

Last synced: 11 months ago
JSON representation

I made a custom programming language in python.

Awesome Lists containing this project

README

          

# **J255 Language(J255 언어)**

I made a custom programming language in python.
파이썬으로 커스텀 프로그래밍 언어를 만들었습니다.

# **Syntax(문법)**

| Keyword | Description |
| :---: | :---: |
| return | Declare a function. |
| if | If the condition is true, execute the code. |
| else | If all if conditions are false, else statements are executed. |
| endif | This is the end of the if and else statements. |
| loop | Repeats the specified number of times. |
| endloop | This is the end of the loop statement. |
| while | If the condition is true, the code continues execution. |
| endwhile | This is the end of the while statement. |
| function | Define a function. |
| call | Call the function. |
| use | Import a specific module. |
| as | (use) Renames a specific module to a different name. |
| include | Includes other J255 files. |

| Data Type | Description |
| :---: | :---: |
| int | Integer value |
| float | Floating point value |
| string | String data |
| bool | Logical data type True or false |

| Operator | Description |
| :---: | :---: |
| = | Substitutes the value of a variable. |
| += | Add the value of a variable. |
| -= | Subtracts the value of a variable. |
| *= | Multiplies the value ​of a variable. |
| /= | Divide the value of a variable. |

| Module Name | Description |
| :---: | :---: |
| G | Standard J255 Graphics module. |
| Net | Standard J255 Networking module. |

| Function Name | Description |
| :---: | :---: |
| print | Prints the value. |
| println | Prints the value and adds one line newline character. |
| input | Enter a value for the variable. |
| sleep | Stops the program for a specified amount of time. |
| readfile | Read a file from a specific path. |
| writefile | Write a file to a specific path. |
| system | Send system commands. |

# **Links(링크)**

* [JkhTV YouTube(장경혁tv)](https://www.youtube.com/@NewLand2019-JkhTV)
* [NewLand Cafe(New랜드 카페)](https://cafe.naver.com/2019newland)
* [NewLand Discord(New랜드 디스코드)](https://discord.gg/2J646MaZGA)
* [JkhTV Tistory(장경혁tv의 티스토리)](https://jkhtv.tistory.com)