# hxs

> A simple programming language written in JavaScript.

Latest version **0.47.0** (published 2022-07-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install hxs
pnpm add hxs
yarn add hxs
bun add hxs
```

Provides the command `hxs`.

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.47.0 |
| Published | 2022-07-15 |
| First published | 2021-01-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 452.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | 3h |
| Maintainers | 3h |
| Keywords | exp, expression, interpreter, 3h |

## Links

- npm: https://www.npmjs.com/package/hxs
- Repository: https://github.com/huang2002/hxs
- Homepage: https://github.com/huang2002/hxs#readme
- Issues: https://github.com/huang2002/hxs/issues
- npm.io page: https://npm.io/package/hxs

## Dependencies (1)

- [3h-cli](https://npm.io/package/3h-cli.md) ^3.0.0

## Recent versions

- 0.47.0 (latest) — 2022-07-15
- 0.46.0 — 2022-07-13
- 0.45.0 — 2022-07-12
- 0.44.0 — 2022-07-11
- 0.43.0 — 2022-07-10
- 0.42.1 — 2021-12-25
- 0.42.0 — 2021-12-12
- 0.41.2 — 2021-12-11
- 0.41.1 — 2021-12-10
- 0.41.0 — 2021-12-03
- 0.40.0 — 2021-11-21
- 0.39.0 — 2021-11-13
- 0.38.0 — 2021-10-23
- 0.37.0 — 2021-10-16
- 0.36.0 — 2021-10-06
- … 39 more at https://npm.io/package/hxs/versions

## README

# 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

- [Documentation](https://github.com/huang2002/hxs/wiki)
- [Changelog](./CHANGELOG.md)
- [License (MIT)](./LICENSE)
- [Online REPL](https://hxs-repl-hhhjs.vercel.app/)

## Example Code

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

---
_Source: https://npm.io/package/hxs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
