Meaning of "Error not pointer so bug. #temp"? #461
-
|
(First attempt at using Rye) I'm trying to load a file with a bunch of quoted, comma-separated strings (all on one line), but when I
What does this error mean? Is it pointing out a bug in my code or in Rye itself? For the record, I don't know if |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
|
Hi. Thanks for writing. "Error not pointer so bug" means a bug in Rye code. It's more of a temporary measure. Load works on strings and files and it tries to "load" (parse) Rye values from text. The problem with the file is that Rye (contrary to Rebol) expects spaces between all the tokens in it's code. You could to this for example: this would give you a block of words ... then Great that you are trying to do Project Euler. I haven't yet found time for it. |
Beta Was this translation helpful? Give feedback.
-
|
@jaredkrinke I've uploaded the Fix. Are you building Rye from Go source or are you using generated binaries? If so, I could make a new release, but I will also add escape sequence for " before release. // update: It's generated from tests (which are taken from comments above the definition above each builtin). This page is the very first version, the tests, the rendering and all will improve but it can be more helpfull than nothing I guess. |
Beta Was this translation helpful? Give feedback.
-
|
Just small detail in case you were not aware. We have a fn1 function that creates a function accepting 1 argument and injecting it (but sometimes you do want to name the argument), and also regular function injects first argument ... not saying it's better, just FYI: |
Beta Was this translation helpful? Give feedback.
-
|
@jaredkrinke I added https://ryelang.org/info/base.html#heading-sort\by Quote escaping was also added. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi. Thanks for writing. "Error not pointer so bug" means a bug in Rye code. It's more of a temporary measure.
Load works on strings and files and it tries to "load" (parse) Rye values from text. The problem with the file is that Rye (contrary to Rebol) expects spaces between all the tokens in it's code.
You could to this for example:
this would give you a block of words ... then
mapcould come handy.Great that you are trying to do Project Euler. I haven't yet found time for it.