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
- WROCC October 2024 meeting - Andy Marks and RISCOSbits (News:1)
- London Show is 4 weeks away (News:2)
- October developer 'fireside' chat on saturday night (News:)
- R-Comp updates RISC OS Hexen port to v1.08 (News:)
- APDL make their PD catalogue available for free download (News:74)
- WROCC October 2024 talk on wednesday - RISCOSbits (News:)
- September 2024 News Summary (News:2)
- ROOL updates DDE to issue 31e (News:4)
- WROCC Newsletter Volume 41:12 reviewed (News:)
- WROCC September 2024 talk on wednesday - Amcog (News:2)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
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)
    CJE (14:40 23/7/2013)
      flibble (16:49 24/7/2013)
        CJE (11:54 4/10/2013)
          nunfetishist (12:55 4/10/2013)
          flibble (17:27 5/10/2013)
            MEmerton (09:06 6/10/2013)
              Lampi (16:28 19/10/2013)
  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: 69
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: 891
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: 138
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: 69
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: 138
You can, but then munged names start causing muchos problems...
True, didn't quite think it that far smile
  ^[ Log in to reply ]
 
Chris Evans Message #122499, posted by CJE at 14:40, 23/7/2013, in reply to message #114853
CJE Micros chap
Posts: 228
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 ...
Did you ever find your decruncher, we have a need of one!
  ^[ Log in to reply ]
 
Peter Howkins Message #122507, posted by flibble at 16:49, 24/7/2013, in reply to message #122499
flibble

Posts: 891
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 ...
Did you ever find your decruncher, we have a need of one!
It might be on one of the machines 120 miles away, I'm afraid unhappy
  ^[ Log in to reply ]
 
Chris Evans Message #122677, posted by CJE at 11:54, 4/10/2013, in reply to message #122507
CJE Micros chap
Posts: 228
Peter: Have you managed to lay your hands on it yet?

Or anyone else have one to hand?

We've just been asked to update a Crunched program. Whilst the update is minor I'd like to make our changes properly.
I also recall that some crunched programs can't be edited in some of the normal ways due to line length quirks. Anyone recall how it can be done without a decruncher?
  ^[ Log in to reply ]
 
Rob Kendrick Message #122678, posted by nunfetishist at 12:55, 4/10/2013, in reply to message #122677
nunfetishist
Today's phish is trout a la creme.

Posts: 524
With Zap (not StrongED or Edit), and with care. Zap edits BASIC files directly without a detokenize/retokenize step that can damage crunched programs due to ambiguities.
  ^[ Log in to reply ]
 
Peter Howkins Message #122679, posted by flibble at 17:27, 5/10/2013, in reply to message #122677
flibble

Posts: 891
Peter: Have you managed to lay your hands on it yet?
I think it's probably lost to the mists of time.
  ^[ Log in to reply ]
 
Michael Emerton Message #122680, posted by MEmerton at 09:06, 6/10/2013, in reply to message #122679
Member
Posts: 75
Is there a 32 Bit Cruncher for BASIC?
  ^[ Log in to reply ]
 
James Lampard Message #122718, posted by Lampi at 16:28, 19/10/2013, in reply to message #122680
Lampi

Posts: 190
Is there a 32 Bit Cruncher for BASIC?
Yes.
  ^[ Log in to reply ]
 

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