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 Newsletter Volume 41:11 reviewed (News:)
- WROCC March 2024 meeting o... Hughes and Peter Richmond (News:1)
- Rougol March 2024 meeting on monday with Bernard Boase (News:)
- Drag'n'Drop 13i2 edition reviewed (News:)
- South-West Show 2024 talks (News:4)
- February 2024 News Summary (News:1)
- Next developer fireside chat (News:)
- DDE31d released (News:)
- South-West Show 2024 Report (News:)
- South-West Show 2024 in pictures (News:)
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 (08:33 21/7/2010)
  flibble (08:38 21/7/2010)
    CJE (13:40 23/7/2013)
      flibble (15:49 24/7/2013)
        CJE (10:54 4/10/2013)
          nunfetishist (11:55 4/10/2013)
          flibble (16:27 5/10/2013)
            MEmerton (08:06 6/10/2013)
              Lampi (15:28 19/10/2013)
  Gulli (11:16 21/7/2010)
    nodoid (11:28 21/7/2010)
      Gulli (08:33 22/7/2010)
 
Paul Johnson Message #114852, posted by nodoid at 08: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 08: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 11: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 11: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 08: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 13: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 15: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 10: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 11:55, 4/10/2013, in reply to message #122677
nunfetishist
Today's phish is trout a la creme.

Posts: 522
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 16: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 08: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 15: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