Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] self extracting, interpreting REBOL?

From: josephcherian::gmail::com at: 13-Jun-2008 14:53

wonder if the following is possible? say i want to make an 'exe' of the tile game (say tile.r)...essentially, a filepacker program would bundle the REBOL interpreter with the tile.r program into tile.exe...when tile.exe is double-left-clicked the REBOL interpreter and tile.r are unpacked and then tile.r is run by REBOL.exe. now, if tile.exe already has REBOL.exe and tile.r, can we set it so that when you double-right-click tile.exe it opens REBOL with tile.r open in its editor, ready to debug, change, and recompile? this would make REBOL even more supremely portable...the exe would contain the SDK!...the only thing i would need to maintain any REBOL based exe packed in this way is the exe itself!....i.e., i'd just double-right-click the exe, it would open the .r file in the editor, i'd fix it and recompile it and save, and voila...the exe = SDK debugger = editor =wow ...all in 600+k!