https://github.com/stringmanolo/simple
SIMPLE is a new general purpouse programming language.
https://github.com/stringmanolo/simple
Last synced: 10 months ago
JSON representation
SIMPLE is a new general purpouse programming language.
- Host: GitHub
- URL: https://github.com/stringmanolo/simple
- Owner: StringManolo
- Created: 2021-04-03T13:54:34.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-10T15:57:23.000Z (almost 5 years ago)
- Last Synced: 2025-02-07T17:45:01.053Z (12 months ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
Awesome Lists containing this project
README
# SIMPLE
SIMPLE is a new general purpouse programming language.
Under development.
SIMPLE is created to be easy to use and easily transpilable to other languages.
The main idea is to write the code in SIMPLE programming language and use the source to source compiler to generate the equivalent code in C++, javascript (node, qjs and browser), python, lua, java ...
### SIMPLE FRAMEWORK:
SIMPLE framework is a set of javascript cli tools that make possible to use the language:
+ simplec.js
CLI tool (qjs) to compile SIMPLE source code to other languages. At the moment can compile some SIMPLE and generate C++ compilable code.
+ [lexer/lexer.mjs](https://github.com/StringManolo/SIMPLE/blob/main/lexer/lexer.mjs)
ES6 module exporting a function to convert raw code into tokens and language structures.
lexer.mjs is designed to a more general purpouse like sintax highlighting.
+ [parser/parser.mjs](https://github.com/StringManolo/SIMPLE/blob/main/parser/parser.mjs)
ES6 module exporting a function to organice the lexemas into expressions.
+ [transpiler/cpp/simple2cpp.mjs](https://github.com/StringManolo/SIMPLE/blob/main/transpiler/cpp/simple2cpp.js)
ES6 module exporting a function to generate c++ code from SIMPLE expressions.
### SIMPLE LANGUAGE:
SIMPLE is a functional programming language where everything is going to be a function or a function call.