hundredrabbits / awesome-uxn

Awesome things from the community
MIT License
709 stars 32 forks source link

add arg.tal for command-line argument parsing #35

Closed non closed 1 year ago

non commented 1 year ago

This code uses the new .Console/type register to make parsing command-line arguments a lot easier.

In particular it allows authors to validate the number of arguments they receive (as well as the string values of those arguments) all in one place.

It also includes a simple demo program showing how to use the library.