On 7/2/21 7:03 AM, Wolfgang Denk wrote:
Dear Sean,

In message <20210701061611.957918-3-sean...@gmail.com> you wrote:
This is the LIL programming language [1] as originally written by Kostas
Michalopoulos <badsec...@runtimeterror.com>. LIL is a stripped-down TCL
variant. Many syntax features are very similar to shell:

Do you have a list of the exact differencec between LIL and a
standard shell?

For a partial list, see

[1] https://github.com/Forty-Bot/lil/commits/master

I wonder, if we deviate from standard shell syntax anyway, we could
also have a look at lua, for example?

I also looked at lua (see the cover letter), but I rejected it based on
size constraints (eLua was around the size of U-Boot itself).

Because of how often the shell is used to debug things, I wanted the
candidate I picked to have similar syntax to the existing shell. For
example,

        load mmc ${mmcdev}:${mmcpart} $loadaddr $image

is a valid command in both Hush and LIL. Compare with lua, which might
express the above as

        load("mmc", mmcdev .. ":" .. mmcpart, loadaddr, image)

which I think is a much larger deviation from existing syntax.

--Sean

Reply via email to