https://github.com/nirvanasupermind/tachyon
Tachyon programming language
https://github.com/nirvanasupermind/tachyon
interpreter language programming-language walker
Last synced: 8 months 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 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-25T09:42:23.000Z (11 months ago)
- Last Synced: 2025-04-05T16:51:15.208Z (10 months 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
```