h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
310 stars 23 forks source link

help error #119

Closed ghost closed 3 years ago

ghost commented 3 years ago

Tried this one: '*sbox/calamity help

Help symbol gives error: (!) Undefined symbol or sigil: *sbox/calamity

h3rald commented 3 years ago

I see what you are trying to do but I am not sure I wanna support it... invoke uses its own micro-syntax to access symbols within a dictionary/module.

How about this though (haven't tried it yet but hopefully it should work):

 (?calamity) sbox with

Basically it should execute the help command within the scope of sbox.

ghost commented 3 years ago

Okay, thanks, it worked. 👍

h3rald commented 3 years ago

Ohhhh good! Finally I was able to find a decent use case for with 🤣 I knew it was gonna be needed sooner or later.