https://github.com/wryun/joss-language
JOSS language interpreter in Typescript
https://github.com/wryun/joss-language
interpreter joss language retrocomputing
Last synced: 5 months ago
JSON representation
JOSS language interpreter in Typescript
- Host: GitHub
- URL: https://github.com/wryun/joss-language
- Owner: wryun
- License: mit
- Created: 2020-12-19T22:10:01.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-08-02T12:20:37.000Z (11 months ago)
- Last Synced: 2025-08-02T14:25:39.987Z (11 months ago)
- Topics: interpreter, joss, language, retrocomputing
- Language: TypeScript
- Homepage: https://en.wikipedia.org/wiki/JOSS
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MATH(JOSS)
WIP Reimplementation of MATH(JOSS) in typescript.
This is IBM's version of the JOSS language, written for
the System/360. It's also referred to as MATH or MATH/360.
It's probably very similar to normal JOSS, but I'm using
the IBM reference manual, so...
Currently, only some basic constructs are implemented
(expression evaluation, Type/Set/Do/if/for/times).
`tests/` roughly tracks what should currently work.
At the moment, it's not as restrictive as the original:
- slightly more helpful errors
- allows multi-char identifiers
- more relaxed about spaces in expressions
- no 10 dimension/10 argument limit on arrays
- javascript floats (i.e. greater range/precision)
But, error handling also needs work (e.g. type safety
rather than casting everywhere and hoping for the best).