New Project: Powershell minus NetMF = Microshell

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.

7 Likes

Very impressive. And welcome to the community.

Looks promising, a video showing it off would be nice! :whistle:

1 Like

@ andre.m - Easier? Lately I was asked by some sales guy if I have internet access at my desk and if I can access YouTube. I think that can not be taken for granted nowadays in every Company :think:

@ njbuch - I will once I finish my last main 3 things left to.