https://github.com/suyanlong/ralph-parser-ts
ralph language parser
https://github.com/suyanlong/ralph-parser-ts
alephium antlr4 antlr4-grammar ast lexer package parser ralph ralph-language specification
Last synced: 16 days ago
JSON representation
ralph language parser
- Host: GitHub
- URL: https://github.com/suyanlong/ralph-parser-ts
- Owner: suyanlong
- License: gpl-3.0
- Created: 2022-08-04T12:36:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-25T03:58:59.000Z (about 3 years ago)
- Last Synced: 2025-09-21T08:32:11.265Z (5 months ago)
- Topics: alephium, antlr4, antlr4-grammar, ast, lexer, package, parser, ralph, ralph-language, specification
- Language: TypeScript
- Homepage:
- Size: 350 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Ralph language parser in TypeScript written
## Goal
- Generate AST
## Build
- install dep
```shell
make dep
```
- build
```shell
make
```
or
```shell
npm run antlr4ts
```
or
```shell
yarn run antlr4ts
```
## Install use
[npm package](https://www.npmjs.com/package/ralph-parser-ts)
```shell
npm i ralph-parser-ts
```
or
```shell
yarn add ralph-parser-ts
```
## More
- [ralph-antlr4](https://github.com/suyanlong/ralph-antlr4)
- official [Ralph](https://github.com/alephium/alephium/tree/master/protocol/src/main/scala/org/alephium/protocol/vm/lang) specification