« first day (3272 days earlier)      last day (508 days later) » 

10:50 AM
0
Q: How can I compile a script that has some dynamic code?

Maciek ŁozińskiI want to compile this script: Red [File: %b.red] context [ a: 123 hidden: 999 set 'global-exports context [ export-a: a ] ] probe global-exports But I get an error when trying to compile it with $ ./red-13oct19-a4ee537c -r b.red: *** Red Compiler Internal Error: Scrip...

0
A: How can I compile a script that has some dynamic code?

Maciek ŁozińskiIn general, you can wrap dynamic code with do [...] function, which treats a block of code like data and uses an interpreter to launch it at runtime: Red [File: %b.red] context [ a: 123 hidden: 999 do [ ;-- the code inside is run by interpreter at runtime set 'global-export...

 
Asking and answering your own question, a sad development.
 
 
6 hours later…
4:41 PM
45
A: Can you answer your own questions on Stack Overflow?

codeMagic Is it acceptable to post a question you know the answer to and then answer it yourself? Yes, in fact, it is encouraged as pointed out in a previous comment. The site is here so developers can share their knowledge. So, if you have spent a good amount of time on a problem and haven't found t...

 
5:15 PM
@HostileFork I'm in trouble with replpad-js when served locally by rebol-server, while it works well from web. Does asincify need any file, other than load-r3.js, libr3.js, libr3.wasm?
 
@giuliolunati I don't think so. I actually was having trouble with local serving on Linux myself--but not the asyncify build, the pthreads build. Things were working when it came off the web to non-Linux, so that's why I was testing the pthreads updated build through Travis...I just wound up taking longer to get back to it than I thought.
 

« first day (3272 days earlier)      last day (508 days later) »