Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/not-nik/tarik
tarik is a minimal, compiled language, designed for low-level programming.
https://github.com/not-nik/tarik
compiler language programming-language tarik
Last synced: 24 days ago
JSON representation
tarik is a minimal, compiled language, designed for low-level programming.
- Host: GitHub
- URL: https://github.com/not-nik/tarik
- Owner: Not-Nik
- License: mpl-2.0
- Created: 2020-10-10T21:59:51.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T17:08:35.000Z (7 months ago)
- Last Synced: 2024-04-09T20:11:22.411Z (7 months ago)
- Topics: compiler, language, programming-language, tarik
- Language: C++
- Homepage:
- Size: 539 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tarik
tarik is a minimal, compiled language, designed for low-level programming.
## Hello World
```rust
fn puts(u8 *s) i32;fn main() i32 {
puts("Hello, World!");return 0;
}
``````shell
tarik hello.tk
gcc hello.o -o hello
./hello
```## Inspiration
tarik is inspired by
- C
- C++
- [Rust](https://github.com/rust-lang/rust)
- [oak](https://github.com/adam-mcdaniel/oakc)## Building
To build tarik you will need a C++ compiler, LLVM 18.1 and CMake >= 3.17.
Then the build procedure is as usual with cmake:
```shell
mkdir build && cd build
cmake ..
cmake --build .
```