hxs v0.47.0
hxs
A simple programming language written in JavaScript.
Introduction
hxs is an experimental language written in JavaScript. You can give it a try if you are interested in programming languages, but it is NOT ready for production use.
Links
Example Code
Human = Class({
@__init(name = 'anonymous') {
this.name = name;
},
#age -> 0,
@speak() {
print(
'This is ',
this.name,
', aged ',
this.age,
'.'
);
},
});
tom = Human('Tom');
tom.age = 19;
tom.speak(); "Prints: This is Tom, aged 19.";
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago