h3rald / min

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

quote != ' #141

Closed ghost closed 3 years ago

ghost commented 3 years ago

The quote symbol isn't fully equivalent to ' sigil. Because, see:

1 :a

a quote puts ; puts `(1)` on the screen
'a puts ; puts `(a)` on the screen
h3rald commented 3 years ago

OK this is weird. Going to look into it, could be something related to the recent change in the define operator (it now auto-quotes quotes as well, like the old quote-bind symbol).

Thanks you for spotting this!

h3rald commented 3 years ago

Alright, actually... I am going to say that this is "by design", because:

Let's just say that 'a is fully equivalent to (a) 😊

h3rald commented 3 years ago

Reopened (see #145) -- 9115c9dac34de13ea15d214035dc3436d493175c

h3rald commented 3 years ago

Fixed