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

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

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