Releases: leftCoast/LC_lilParser
Even examples work now!
lilParser 2.0 Woo woo!
The original was proving really tough to maintain and, when pushed, behaved badly. So I rewrote it from scratch in a much less "tricky" manner. Now it handels low memory MUCH better. Throws errors as opposed to just crashing. It no longer uses globals. So there is no real issue in having multiple ones running at the same time. It cleans up after itself on deletion. So you can create and delete parsers at your whim. Just more fun all around. The interface is nearly the same.
Anyway, try it out. See if you like it.
Now YOU can set the param buffer size!
Mostly the only change is that you can now set the size of the param buffer that this thing used. That and some comment tweaks.
This should work better. Possibly actually compile and everything.
It helps if you actually include the code.
Everything I said about the last release except this time it's actually true. I forgot to upload the #$(&T^^$ code.
Cleaner better smaller & more wonderful!
Mostly cleaned up the memory management be updating it to the new stuff used in LC_baseTools.
Memory management is now automatically handled. Meaning? Where the user used to be tasked with freeing memory when passed a parameter string.. Now, this is NOT the case. The string handed to the calling function is a shared resource that is managed by the memory management. You should make a local copy of the string because, it is only valid temporarily.
Forgot to update the version AGAIN!!
Just a version notation change.
The simpler the better.
Added the simplest example I could come up with. User controls the built in LED using the serial monitor.
LC_lilParser roll out.
This is the initial release of the LC_lilParser. An easy to understand, simple to set up general purpose text parser for Arduino. Now you can have a command line!