2021-08-23 02:09:27 +01:00
|
|
|
# Uxnlin
|
|
|
|
|
2022-05-26 23:11:50 +01:00
|
|
|
A linter for the Uxntal programming language, written in [Uxntal](https://wiki.xxiivv.com/site/uxntal.html).
|
2021-08-23 02:09:27 +01:00
|
|
|
|
2022-05-26 23:11:50 +01:00
|
|
|
## Build
|
2021-08-23 02:09:27 +01:00
|
|
|
|
2022-05-26 23:11:50 +01:00
|
|
|
You must have the [Uxn](https://git.sr.ht/~rabbits/uxn/) assembler and emulator.
|
2021-08-23 02:09:27 +01:00
|
|
|
|
2022-05-26 23:11:50 +01:00
|
|
|
### Usage
|
2021-08-23 02:09:27 +01:00
|
|
|
|
|
|
|
The following command will read a `tal` file and raise warnings if optimizations can be found.
|
|
|
|
|
|
|
|
```
|
2022-05-26 23:11:50 +01:00
|
|
|
uxncli bin/uxnlin.rom path/to/source.tal
|
2021-08-23 02:09:27 +01:00
|
|
|
```
|
|
|
|
|
2022-05-27 02:46:56 +01:00
|
|
|
## TODOs
|
|
|
|
|
|
|
|
```
|
|
|
|
#12 STH -> LITr 12
|
|
|
|
#1234 -> LIT2r 1234
|
|
|
|
```
|
|
|
|
|
2022-05-26 23:11:50 +01:00
|
|
|
## Extras
|
2021-08-23 02:09:27 +01:00
|
|
|
|
2022-05-26 23:11:50 +01:00
|
|
|
- [Need a hand?](https://llllllll.co/t/uxn-virtual-computer/46103)
|