Author Topic: Axe Parser  (Read 499113 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Parser
« Reply #1545 on: November 28, 2010, 06:06:16 pm »
Is there an Input command, I heard DJ saying it was something like

Code: [Select]
Z->input
But maybe I misunderstood :S

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Parser
« Reply #1546 on: November 28, 2010, 06:07:22 pm »
I don't remember, but I know it was broken on some calc model and OSes. It's best to just build your own routine.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Parser
« Reply #1547 on: November 28, 2010, 06:21:36 pm »
"Static data can be stored to variable pointer."
How exactly does this work?

You can now do:
Code: [Select]
"0123456789ABCDEF"→AInstead of having to previously have done something like:
Code: [Select]
"0123456789ABCDEF"→Str1
Str1→A


Is there an Input command, I heard DJ saying it was something like

Code: [Select]
Z->input
But maybe I misunderstood :S

There is an input command, and it returns a pointer to a string of tokens, not a numerical value.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Parser
« Reply #1548 on: November 28, 2010, 06:22:44 pm »
You can now do:
Code: [Select]
"0123456789ABCDEF"->AInstead of having to previously have done something like:
Code: [Select]
"0123456789ABCDEF"->Str1
Str1->A

THIS IS AWESOME!

You can now have more than 10 pictures! Also works for strings, right?

But maybe I misunderstood :S

There is an input command, and it returns a pointer to a string of tokens, not a numerical value.
« Last Edit: November 28, 2010, 06:38:33 pm by ScoutDavid »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Parser
« Reply #1549 on: November 28, 2010, 06:35:20 pm »
Nice Runer112. Also ScoutDavid you might want to fix your Quote. :P

by the way will this new version be uploaded on ticalc.org?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Parser
« Reply #1550 on: November 28, 2010, 06:39:37 pm »
1. Quote Fixed;
2. It has not been put TiCalc?;
3. It has not been posted in Cemetech;
4. What are axioms?

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Parser
« Reply #1551 on: November 28, 2010, 06:53:49 pm »
Runer, thank you. IMO it would read better as "Inline strings now work for storing to variables" :D
Edit: On a completely unrelated note, I noticed that the manual still says "Not Reasonably" for editing ASM on-calc. Might want to change that ;D
« Last Edit: November 28, 2010, 07:14:06 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Parser
« Reply #1552 on: November 28, 2010, 07:22:08 pm »
Runer, thank you. IMO it would read better as "Inline strings now work for storing to variables" :D
Edit: On a completely unrelated note, I noticed that the manual still says "Not Reasonably" for editing ASM on-calc. Might want to change that ;D


Edit: On a completely unrelated note, I noticed that the manual still says "Not Reasonably" for editing ASM on-calc. Might want to change that

That's not very important, however. Some times, when releasing new versions of a product I add lots of features, and fix major bugs, but forget to fix small bugs, which are sometimes important.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Parser
« Reply #1553 on: November 28, 2010, 07:26:29 pm »
It's not important; it's just something I noticed ;D
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Parser
« Reply #1554 on: November 28, 2010, 07:27:25 pm »
It's not important; it's just something I noticed ;D

Yes, I understood you knew it wasn't important.

It's also cool that letters in program list jump, that's useful for me, who have LOTS of programs and backups :)

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axe Parser
« Reply #1555 on: November 29, 2010, 07:17:33 am »
Augh, the dreaded max symbol error :(

Is using the (semi) new inline data feature a valid way to reduce the symbol count?
Code: [Select]
Text(0,,"Hi") instead of
Code: [Select]
"Hi"->Str1:Text(0,,Str1)

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Axe Parser
« Reply #1556 on: November 29, 2010, 04:16:07 pm »
Yes, that reduces symbol count.  You can also reference things relatively, like Str1+8 for instance instead of making a new static pointer, its the same size in the executable either way since it gets optimized.

By the way, anyone find any bugs yet?  I know for a fact that about 1% of the time when you absorb an OS picture variable from archive as a tilemap, the data can get slightly shifted.  This isn't a new bug, it was in the older versions but no one has reported it yet.  I can fix it but it'll be quite slow to parse when it absorbs tilemaps.  (the noncontiguous rom structure is so evil) I'm going to upload to ticalc soon so I just want to make sure there aren't any obvious bugs.  The things I changed most were things having to do with archive, app compiling, backups, and the compile menu if you're looking for bugs.
« Last Edit: November 29, 2010, 04:17:25 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Parser
« Reply #1557 on: November 29, 2010, 04:21:16 pm »
I didn't notice the bug yet actually. Does it happens on all OSes/Calcs?

As for ticalc.org upload suggestion I asked since ticalc.org is still at version 0.4.4. Also I forgot to mention Cemetech X.x, that could be another place as well.

I should try to compile my Axe tunnel for 0.4.6 and post an update...
« Last Edit: November 29, 2010, 04:21:36 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Axe Parser
« Reply #1558 on: November 29, 2010, 04:45:01 pm »
DelVar can be used to help avoid Max Symbol, if I understand right. :)

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Axe Parser
« Reply #1559 on: November 29, 2010, 04:47:12 pm »
DelVar can be used to help avoid Max Symbol, if I understand right. :)
No, that was gotten rid of several versions ago becasue no one used it.  Now, its used for its more intuitive purpose which is to delete OS variables.
___Axe_Parser___
Today the calculator, tomorrow the world!