hxs
TypeScript icon, indicating that this package has built-in type declarations

0.47.0 • Public • Published

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.";

/hxs/

    Package Sidebar

    Install

    npm i hxs

    Weekly Downloads

    1

    Version

    0.47.0

    License

    MIT

    Unpacked Size

    464 kB

    Total Files

    60

    Last publish

    Collaborators

    • 3h