Closed mikaelpatel closed 8 years ago
! Can you call trap for any name not recognized? That argues for the :name and name:, say. On Mar 4, 2016 08:15, "Mikael Patel" notifications@github.com wrote:
Please see commit 4433987 https://github.com/mikaelpatel/Arduino-Shell/commit/443398753d03ccc3b1d86c7badd89f67ec0436fe.
— Reply to this email directly or view it on GitHub https://github.com/mikaelpatel/Arduino-Shell/issues/28#issuecomment-192340186 .
... but that doesnt work, sorry, needs to be a prefix for the call. On Mar 4, 2016 09:04, "David Harris" drdpharris@gmail.com wrote:
! Can you call trap for any name not recognized? That argues for the :name and name:, say. On Mar 4, 2016 08:15, "Mikael Patel" notifications@github.com wrote:
Please see commit 4433987 https://github.com/mikaelpatel/Arduino-Shell/commit/443398753d03ccc3b1d86c7badd89f67ec0436fe.
— Reply to this email directly or view it on GitHub https://github.com/mikaelpatel/Arduino-Shell/issues/28#issuecomment-192340186 .
This is just an attempt to clean up the operation code (character) assignments and make the frame and parameter access more logical.
Some additional renaming; "b" => "c", "k" <=> "K", "y" => "Y". Please see commit https://github.com/mikaelpatel/Arduino-Shell/commit/c7b61e1b74fbe161a14b4d422983b8102b15a429.
The operation codes for frames, parameters, variable lookup and escape could be more logical.
The old syntax:
would become: