tilkinsc / LuaConsole

A next-gen, Cross-Platform [Lua-5.1.x, LuaJIT-2.0, Lua-5.2.x, Lua-5.3.x, Lua-5.4.x]-supporting CLI made to supersede PUC-Lua and LuaJIT CLI

Home Page:http://tilkinsc.github.io/LuaConsole/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement custom library solution for handling args in a Collect Process Output way

tilkinsc opened this issue · comments

I am working on a Collect Process Output model. This will replace the big giant and ugly switch statement and allow more seamless transfer of data struct, which is never referenced directly.

This will not only add ease of use, but the whole program should flow a little better.

I have been working on the CPO library every now and again. It's borderline finished, but I need to add in support for file and stdin manipulation. This tiny library will be built in tandem with the driver. Easy of use in arguments is a priority and I believe this CPO library will add greatly to the code base. It lets me tell arguments with parameters from those without parameters. This means position independent files in the program call will be supported. Arguments are already processed together in a defined way, and this is why only the driver will be affected. I may want to rework the argument passing system though as its a bit weird.