Flow Shell in Lua: Project Breakdown

Imagine having FlowShell implemented as a tiny compact cosmopolitan binary that has all of it's lua code embedded in it. Just a single cross platform binary that can run on any operating system.

So much could be achieved with this - it becomes an enabler of the entire affiliate network - it could even allow communication chat between affiliates and iNTERFACEWARE customers over secure channels.

1. File Enumeration API

Requirements:

Tasks:


2. Process Spawn Implementation

Requirements:

Tasks:


3. JSON Parser

Requirements:


4. Hierarchical Command Shell in Lua

Requirements:


5. Cross-Platform Packaging

Steps:

Probably could embed the source in the binary - using zip - apparently cosmopolitan already has zipos so it's probably a good starting point.

6. Integration and Tests

What:


Summary Table

Feature Status Notes
Dir Enumeration [ ] C bindings
Process Spawner [ ] C bindings
JSON Parser [ ] From Iguana or new
Shell Infra (Lua) [ ] Command file mapping
Packaging (binary) [ ] Cosmopolitan build
Tests and Examples [ ] For every layer

Next Steps

  1. Prototype the barebones C bindings (dir/process) and load from Lua.
  2. Decide on JSON parser method (reuse or write).
  3. Write simple shell loader in Lua that traces command->Lua file mapping.
  4. Set up a monorepo tree for everything (src/c, src/lua, cmd/, etc).