top | item 43346431 Inline Evaluation Adventure 27 points| todsacerdoti | 1 year ago |rigsomelight.com 12 comments order hn newest [+] [-] benjamin314|1 year ago|reply Absolutely agree the feeling of this is that the source code is alive. It's like riding a bike, you cannot explain it in words what it is.I tried to convey the idea in a video here: https://youtu.be/3AqEDzAT4n8?si=aI0ZjWqXVnNDdJ4J [+] [-] brucehauman|1 year ago|reply Let’s throw this relevant link of yours in here as well: https://faster-than-light-memes.xyz/conversation-1.html [+] [-] brucehauman|1 year ago|reply Author here: I'm curious if anyone took the time to complete the text adventure? [+] [-] deathanatos|1 year ago|reply I got a bit stuck.(I got the 5 items. Somehow lost :key-code. I think I inadvertently duplicated :close-paren and :unlock-function, though I have no idea how.In :utility-room, the "bookcas " is missing an e.When the mouse is over one of those inline-eval boxes, "scroll up" works, "scroll down" does not.edit: oh, I was trying to play the whole game before the rest of the article too … so that was probably harder than it needed to be ^_^edit: (pop) seems to be what screws up my inventory, dropping multiple items from the stack, but if :a :b are dropped, they end up as like :b :b ?edit: I think I beat it? I got to exit-to-freedom, which I'm assuming is the end. load replies (1) [+] [-] Cogito|1 year ago|reply Completed it. Was really fun, thank you!I wasn't sure how to chain function calls so had to look that up to implement movei, but apart from that was fairly straightforward (it's (do (<func1>) (<func2>) ...)).My UI was pretty simple and ended up being (defn looki [] (display-html (look-html (look)))) (defn movei [dir] (do (move dir) (looki))) (looki) (movei :south) (movei :east) (movei :north) (movei :south) (movei :west) (unlock-function :spoiler) (stack) (push :picture) (push :spoilers) (peek) (pop) (reset) load replies (1) [+] [-] jiriro|1 year ago|reply Is it possible to ^r on iphone? [+] [-] zogilvie|1 year ago|reply I believe you may be able to do it with a 3rd party keyboard app. I was able to use one for my Android phone, just unsure what's available for iOS.
[+] [-] benjamin314|1 year ago|reply Absolutely agree the feeling of this is that the source code is alive. It's like riding a bike, you cannot explain it in words what it is.I tried to convey the idea in a video here: https://youtu.be/3AqEDzAT4n8?si=aI0ZjWqXVnNDdJ4J [+] [-] brucehauman|1 year ago|reply Let’s throw this relevant link of yours in here as well: https://faster-than-light-memes.xyz/conversation-1.html
[+] [-] brucehauman|1 year ago|reply Let’s throw this relevant link of yours in here as well: https://faster-than-light-memes.xyz/conversation-1.html
[+] [-] brucehauman|1 year ago|reply Author here: I'm curious if anyone took the time to complete the text adventure? [+] [-] deathanatos|1 year ago|reply I got a bit stuck.(I got the 5 items. Somehow lost :key-code. I think I inadvertently duplicated :close-paren and :unlock-function, though I have no idea how.In :utility-room, the "bookcas " is missing an e.When the mouse is over one of those inline-eval boxes, "scroll up" works, "scroll down" does not.edit: oh, I was trying to play the whole game before the rest of the article too … so that was probably harder than it needed to be ^_^edit: (pop) seems to be what screws up my inventory, dropping multiple items from the stack, but if :a :b are dropped, they end up as like :b :b ?edit: I think I beat it? I got to exit-to-freedom, which I'm assuming is the end. load replies (1) [+] [-] Cogito|1 year ago|reply Completed it. Was really fun, thank you!I wasn't sure how to chain function calls so had to look that up to implement movei, but apart from that was fairly straightforward (it's (do (<func1>) (<func2>) ...)).My UI was pretty simple and ended up being (defn looki [] (display-html (look-html (look)))) (defn movei [dir] (do (move dir) (looki))) (looki) (movei :south) (movei :east) (movei :north) (movei :south) (movei :west) (unlock-function :spoiler) (stack) (push :picture) (push :spoilers) (peek) (pop) (reset) load replies (1)
[+] [-] deathanatos|1 year ago|reply I got a bit stuck.(I got the 5 items. Somehow lost :key-code. I think I inadvertently duplicated :close-paren and :unlock-function, though I have no idea how.In :utility-room, the "bookcas " is missing an e.When the mouse is over one of those inline-eval boxes, "scroll up" works, "scroll down" does not.edit: oh, I was trying to play the whole game before the rest of the article too … so that was probably harder than it needed to be ^_^edit: (pop) seems to be what screws up my inventory, dropping multiple items from the stack, but if :a :b are dropped, they end up as like :b :b ?edit: I think I beat it? I got to exit-to-freedom, which I'm assuming is the end. load replies (1)
[+] [-] Cogito|1 year ago|reply Completed it. Was really fun, thank you!I wasn't sure how to chain function calls so had to look that up to implement movei, but apart from that was fairly straightforward (it's (do (<func1>) (<func2>) ...)).My UI was pretty simple and ended up being (defn looki [] (display-html (look-html (look)))) (defn movei [dir] (do (move dir) (looki))) (looki) (movei :south) (movei :east) (movei :north) (movei :south) (movei :west) (unlock-function :spoiler) (stack) (push :picture) (push :spoilers) (peek) (pop) (reset) load replies (1)
[+] [-] jiriro|1 year ago|reply Is it possible to ^r on iphone? [+] [-] zogilvie|1 year ago|reply I believe you may be able to do it with a 3rd party keyboard app. I was able to use one for my Android phone, just unsure what's available for iOS.
[+] [-] zogilvie|1 year ago|reply I believe you may be able to do it with a 3rd party keyboard app. I was able to use one for my Android phone, just unsure what's available for iOS.
[+] [-] benjamin314|1 year ago|reply
I tried to convey the idea in a video here: https://youtu.be/3AqEDzAT4n8?si=aI0ZjWqXVnNDdJ4J
[+] [-] brucehauman|1 year ago|reply
[+] [-] brucehauman|1 year ago|reply
[+] [-] deathanatos|1 year ago|reply
(I got the 5 items. Somehow lost :key-code. I think I inadvertently duplicated :close-paren and :unlock-function, though I have no idea how.
In :utility-room, the "bookcas " is missing an e.
When the mouse is over one of those inline-eval boxes, "scroll up" works, "scroll down" does not.
edit: oh, I was trying to play the whole game before the rest of the article too … so that was probably harder than it needed to be ^_^
edit: (pop) seems to be what screws up my inventory, dropping multiple items from the stack, but if :a :b are dropped, they end up as like :b :b ?
edit: I think I beat it? I got to exit-to-freedom, which I'm assuming is the end.
[+] [-] Cogito|1 year ago|reply
I wasn't sure how to chain function calls so had to look that up to implement movei, but apart from that was fairly straightforward (it's (do (<func1>) (<func2>) ...)).
My UI was pretty simple and ended up being
[+] [-] jiriro|1 year ago|reply
[+] [-] zogilvie|1 year ago|reply