I’m working on some embedded stuff, I love .Net, I needed a shell environment so I started fiddling one night.
I started with this Expression Parser: [url]https://www.ghielectronics.com/community/codeshare/entry/935[/url]
and now have a 75% shell.
I liked this parser as the waterfall nature of it and simple tokens is light on memory allocations. I’ve written other tokenizers/parsers that are feature rich but require decent resources to be performant.
The code is at: [url]https://github.com/NulledLabs/Microshell[/url]
At present variables (global scope and constants) are supported and it should properly parse most Powershell syntax.
I still need to finish somethings, but I was hopeful this might help some people on their own projects.
Left to do:
[ol]Micro-Cmdlets
Code optimizations (I am targeting embedded systems)
Hooking into Serial and Sockets[/ol]
Take a look and let me know your thoughts.