log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Pointless nostalgia for the past? (Gen:8)
- RPCEmu 0.8.7 (Gen:2)
- Haunted House - complete documentation (Games:2)
- Gordon J. Key (Gen:1)
- RiscPC CMOS battery replacement advice (Gen:13)
- RiscOS on an Android Tablet (Gen:6)
- How to move files to a new disk, A5000 (Gen:7)
- External hard drive for OS X (Gen:5)
- VideoDesk (Gen:16)
- Arc elite (Games:28)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
Site Search
 
Article archives
The Icon Bar: Programming: BasCrunch (and similar) decrunchers
 
  BasCrunch (and similar) decrunchers
  nodoid (09:33 21/7/2010)
  flibble (09:38 21/7/2010)
  Gulli (12:16 21/7/2010)
    nodoid (12:28 21/7/2010)
      Gulli (09:33 22/7/2010)
 
Paul Johnson Message #114852, posted by nodoid at 09:33, 21/7/2010
Member
Posts: 24
Hi,

Does anyone know of a way to decrunch crunched BASIC programmes? I can do a simple search and replace, but when the application is huge, this is prone to going wrong.

If there is a simple way, great. If not, I think some code may have to go west and just die...
  ^[ Log in to reply ]
 
Peter Howkins Message #114853, posted by flibble at 09:38, 21/7/2010, in reply to message #114852
flibble

Posts: 662
Somewhere I've got a couple of programs that would help with this. Automatically turn SWI numbers back into names and then another that tried to insert newlines back into the source, and indent blocks.

Now if only I could remember where they were ...
  ^[ Log in to reply ]
 
Gunnlaugur Jonsson Message #114855, posted by Gulli at 12:16, 21/7/2010, in reply to message #114852
Member
Posts: 107
Not exactly the best way but surely you can use search/replace to get quite far? At least the code would stand a little better chance of surviving.
  ^[ Log in to reply ]
 
Paul Johnson Message #114856, posted by nodoid at 12:28, 21/7/2010, in reply to message #114855
Member
Posts: 24
Not exactly the best way but surely you can use search/replace to get quite far? At least the code would stand a little better chance of surviving.
You can, but then munged names start causing muchos problems...
  ^[ Log in to reply ]
 
Gunnlaugur Jonsson Message #114861, posted by Gulli at 09:33, 22/7/2010, in reply to message #114856
Member
Posts: 107
You can, but then munged names start causing muchos problems...
True, didn't quite think it that far smile
  ^[ Log in to reply ]
 

The Icon Bar: Programming: BasCrunch (and similar) decrunchers