What's Changed
- feat: add Docker support and development environment by @l-lumin in #5
- Added objects and classes (no inheritance yet, but operator overloading is present)
Syntax:
# Create a class
class MyClass {
fun __init__(a, b) {
this.a = a;
this.b = b;
}
fun do_something() {
return this.a + this.b;
}
}
# Create an instance of the class
my_instance = new MyClass(1, 2);
print(my_instance); # == <object of <class 'MyClass'>>
print(my_instance.a); # == 1
print(my_instance.b); # == 2
print(my_instance.do_something()); # == 3
- Biiiiiiiiig refactor and restructuring
- Bugs in v0.4.4-beta are now fixed (at least ones that I found)
New Contributors
Full Changelog: v0.4.3...v0.4.4