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.
- Host: GitHub
- URL: https://github.com/newlandtv/j255_language
- Owner: NewLandTV
- License: bsd-2-clause
- Created: 2023-07-14T14:31:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-19T03:18:19.000Z (about 2 years ago)
- Last Synced: 2025-01-21T13:38:15.000Z (about 1 year ago)
- Topics: j255, programming-language, python
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)