Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianeli1/konlang
https://github.com/ianeli1/konlang
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ianeli1/konlang
- Owner: ianeli1
- Created: 2021-05-03T01:51:46.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-14T07:31:14.000Z (over 3 years ago)
- Last Synced: 2024-11-08T20:48:06.362Z (3 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kon Language
A basic programming language. More of a experiment to learn how they work.
## What I want to achieve
I want it to be simple to get used to, interpreted and weak typed. A mix between JS and Python, but the creator has no clue how to make a good language.
There's two types: string and number
```
let variableName = "asda" //creates a string
//only let exists, all variables are mutableprint(variableName) //logs it to the console, if existing
```
The idea is to make a compiler for Senkomputer in the future.
```
//declaration
let i = 0//reassignation
i = 1//method call
print(i)//method definition
define nameOfMethod(){
stuff
}```