Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nirvanasupermind/tachyon
Tachyon programming language
https://github.com/nirvanasupermind/tachyon
interpreter language programming-language walker
Last synced: 9 days ago
JSON representation
Tachyon programming language
- Host: GitHub
- URL: https://github.com/nirvanasupermind/tachyon
- Owner: nirvanasupermind
- License: mit
- Created: 2022-04-09T07:01:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-27T09:20:48.000Z (about 1 month ago)
- Last Synced: 2024-11-27T10:28:07.081Z (about 1 month ago)
- Topics: interpreter, language, programming-language, walker
- Language: C++
- Homepage:
- Size: 16.2 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tachyon
**Version 1.0.0-dev**
Tachyon is a lightweight dynamic programming language that supports full multithreading and prototype-based object-oriented programming. Eris is transpiled to C++11 using tagged unions to handle dynamic typing, and can interact with C++ code.
# Example
```
var Vec2 = {
mag: lambda(self) {
return Math.sqrt(self.x * self.x + self.y * self.y);
}
};var vec2 = {x: 3, y: 4, proto: Vec2};
System.print(vec2.mag()); // 5
```