https://github.com/jovonni/lymn
Programming Language written as human language, English
https://github.com/jovonni/lymn
language programming programming-language
Last synced: 10 months ago
JSON representation
Programming Language written as human language, English
- Host: GitHub
- URL: https://github.com/jovonni/lymn
- Owner: Jovonni
- License: gpl-3.0
- Created: 2019-12-22T00:20:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-22T00:32:49.000Z (about 6 years ago)
- Last Synced: 2025-02-08T15:48:22.734Z (11 months ago)
- Topics: language, programming, programming-language
- Language: Makefile
- Homepage: http://www.twitter.com/LYMNLang
- Size: 94.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LYMN Programming Language
## Get the updated code on XS code
https://cp.xscode.com/Jovonni/LYMN
### Purpose
LYMN aims to democratize the process by which someone develops a program through natural language
```javascript
x is a Variable, with a datatype of String. x is initialized as "example".
```
--------
Lymn
./hello_world.paragraph ""
Lymn hello_world.paragraph "{"HelloWorld": {
"P":
}
}"
Lymn hello_world.paragraph P=""
-----------
----------------
HelloWorld has a paragraph called P. P is initialized to "hello world".
----------------
## Grammar
The LYMN compiler reads in the grammar defining the language, and that grammar informs how the compiler works. This is opposed to hard coding a compiler based on hard coded rules
```
:= ;
:= {};
:= [];
:= {} | {};
:= | ;
:= | | | | | ;
```
## Automatic BNF Conversion
From the BNF defined grammar, we generate a derivation
## Derivations
The derivation generated from the BNF format, is then used to construct a parse tree directly
## Automatic Parse Tree Generation from BNF
## Walking the parse tree
# Language Concepts
# NLP