https://github.com/rei1024/apgm
APGsembly macro language
https://github.com/rei1024/apgm
apgsembly deno typescript
Last synced: about 1 month ago
JSON representation
APGsembly macro language
- Host: GitHub
- URL: https://github.com/rei1024/apgm
- Owner: rei1024
- License: mit
- Created: 2025-01-02T14:17:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-20T05:15:03.000Z (3 months ago)
- Last Synced: 2026-03-20T21:50:36.321Z (3 months ago)
- Topics: apgsembly, deno, typescript
- Language: TypeScript
- Homepage: https://rei1024.github.io/apgm/
- Size: 665 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# APGM
APGsembly macro language
APGM is a language created to output APGsembly. It uses structured programming
and macros.
[APGM - APGsembly macro language](https://rei1024.github.io/apgm/)
## Pipeline
```mermaid
graph TD
APGM0[APGM code] -->|Parse| APGM1[APGM + Macro]
APGM1[APGM + Macro] -->|Expand macro| APGM2[APGM]
APGM2[APGM] -->|Transpile| APGL1[APGL]
APGL1[APGL] -->|Optimize sequence| APGL2[APGL]
APGL2[APGL] -->|Optimize actions| APGL3[APGL]
APGL3[APGL] -->|Transpile| APGsembly[APGsembly]
```
## Testing
### Requirements
- `deno` above 2.3.5
-
### Usage
- `$ deno task up` Local server
- access to [http://localhost:1618/](http://localhost:1618/)
- `$ deno task t` Unit tests
- `$ deno task w` Unit tests with file watcher
- `$ deno task cov` Unit tests coverage
- `$ deno task fmt` Formatting
- `$ deno task build` Bundling