Light
所属分类:编程语言基础
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-02-05 04:35:21
上 传 者:
sh-1993
说明: 轻型编程语言-低级静态元编程语言
(Light Programming Language - low level, static, meta-programming focused language)
文件列表:
Makefile (512, 2019-10-13)
TODO.md (785, 2019-10-13)
build.bat (305, 2019-10-13)
doc/ (0, 2019-10-13)
doc/TCC_Reunião_#1.odp (1922304, 2019-10-13)
doc/algorithms_ideas.txt (590, 2019-10-13)
doc/ast.txt (217, 2019-10-13)
doc/ast_code.cpp (4560, 2019-10-13)
doc/c_examples/ (0, 2019-10-13)
doc/c_examples/code_from_data/ (0, 2019-10-13)
doc/c_examples/code_from_data/code_from_data.c (1265, 2019-10-13)
doc/c_examples/examples.txt (163, 2019-10-13)
doc/c_examples/introspection/ (0, 2019-10-13)
doc/c_examples/introspection/Makefile (94, 2019-10-13)
doc/c_examples/introspection/introspect (13072, 2019-10-13)
doc/c_examples/introspection/introspect.c (561, 2019-10-13)
doc/c_examples/introspection/introspect.h (482, 2019-10-13)
doc/c_examples/introspection/introspection (24552, 2019-10-13)
doc/c_examples/introspection/introspection.c (14787, 2019-10-13)
doc/c_examples/introspection/introspection_generated.h (2471, 2019-10-13)
doc/c_examples/introspection/light_array.h (3304, 2019-10-13)
doc/c_examples/performance/ (0, 2019-10-13)
doc/c_examples/performance/Makefile (38, 2019-10-13)
doc/c_examples/performance/performance (9168, 2019-10-13)
doc/c_examples/performance/performance.c (1457, 2019-10-13)
doc/c_examples/performance/secret.txt (25, 2019-10-13)
doc/c_examples/performance/table_hash.h (233, 2019-10-13)
doc/changelogs.txt (759, 2019-10-13)
doc/commands.txt (879, 2019-10-13)
doc/declarations.txt (1474, 2019-10-13)
doc/expressions.txt (1606, 2019-10-13)
doc/ideas.txt (551, 2019-10-13)
doc/lvalue_scratch.txt (778, 2019-10-13)
doc/new_ast.txt (1022, 2019-10-13)
doc/type_inference.txt (1302, 2019-10-13)
doc/type_system_expressions.txt (1901, 2019-10-13)
doc/types.txt (426, 2019-10-13)
doc/values.txt (1560, 2019-10-13)
... ...
# Light Programming Language
----
The light programming language focuses on simplicity, while offering the maximum amount of control to the programmer. It is a low-level, statically typed and meta-programmable language. The syntax is very similar to [Go](https://golang.org/) and [JAI](https://www.youtube.com/watch?v=TH9VCN6UkyQ&list=PLmV5I2fxaiCKfxMBrNsU1kgKJXD3PkyxO), but also various other more modern languages.
The language is currently under development and is very unstable.
## Planned Features
* [x] Simple language core
* [x] Type inference
* [x] Runtime type information
* [ ] Compile time execution of code
* [ ] Code AST modification
* [ ] Meta-programming support
* [ ] Code introspection
* [ ] Embedded build system support
## Example
```go
main :: () -> s32 {
print("Hello World\n");
return 0;
}
```
You can find more examples in the `test` directory.
## Build
### Linux Build
* Dependencies: `nasm` and `gcc`.
- To install dependencies on Ubuntu run: sudo apt-get install nasm.
* To build run `make` at the root directory.
* The executable is build at `bin/light`
### Windows
* Currently unavailable.
* Dependencies: Visual Studio 2017. (masm and cl)
近期下载者:
相关文件:
收藏者: