• Axe Parser 5 1
Currently:  

Author Topic: Axe Parser  (Read 546379 times)

0 Members and 3 Guests are viewing this topic.

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 #1245 on: September 26, 2010, 07:18:43 pm »
I thought it would be last night but after more testing I realized I hadn't actually fixed the nested elseif bug properly for all cases and its taking me forever to fix it.  Once I fix that, it will be ready.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Axe Parser
« Reply #1246 on: September 26, 2010, 07:23:54 pm »
Ah, so I wasn't imagining the elseif bug.
So... it'll be out maybe in the next seven days?  Please?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Parser
« Reply #1247 on: September 26, 2010, 07:58:24 pm »
Oh I did not mean every single release only happens on sundays, I meant that most did. I think one of them came out on a monday. It's just speculation from me since most releases were weekly or bi-weekly.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Axe Parser
« Reply #1248 on: September 27, 2010, 06:49:48 pm »
Quick question.  How large can a compiled program get to be before it crashes?  The TWHG level editor is crashing at erratic places where it's been working fine for months.
Currently, it's at 9593 bytes.  Is that too large?
Vy'o'us pleorsdti thl'e gjaemue

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #1249 on: September 27, 2010, 06:52:54 pm »
Yeah. That's too big. Make it an APP instead and it won't crash anymore.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Parser
« Reply #1250 on: September 27, 2010, 07:26:50 pm »
Hmm... is it 9593 bytes of just source code, or is it 9593 bytes of both source code and data? (data being HEX stuff)

There is no way to know how large your compiled executable code is, except by getting rid of all HEX data from your program before compiling (backup first of course). If the executable code reaches 8.1 KB, it is the limit of executable code for z80 ASM and Axe 8xp programs. You can have larger file sizes than 9593 bytes as long as the executable code portion of it is under 8.1 KB. Otherwise you need to use an APP.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Axe Parser
« Reply #1251 on: September 27, 2010, 08:10:13 pm »
/\...but then you get errUndefined messages when compiling(assuming that the data is accessed during the program and isnt just there because) make sure you at least have a [00->Pic11(or whatever other spots are accessed in your program) and then just factor out the 1 byte size of each of those

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 #1252 on: September 27, 2010, 09:12:12 pm »
I think I will give a warning message from now on when the size passes 8812 bytes.
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #1253 on: September 27, 2010, 09:29:15 pm »
I would suggest you only say that when code passes that mark, but then I remembered that you decided to mix subroutines and code ;D
I think that'd be a good idea :)
"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 DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Parser
« Reply #1254 on: September 27, 2010, 09:38:28 pm »
I think I will give a warning message from now on when the size passes 8812 bytes.
Could you simply display the code size after compiling even when it is under 8812? It might act as a guide for people who are trying to stay under the limit.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Parser
« Reply #1255 on: September 27, 2010, 09:55:06 pm »
PRAISE THE ALL-MIGHTY LORD OF CALCULATORS, AXE 0.4.5!

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Axe Parser
« Reply #1256 on: September 27, 2010, 09:57:41 pm »
PRAISE THE ALL-MIGHTY LORD OF CALCULATORS, AXE 0.4.5!

:)
Recursive subprograms!
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

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 #1257 on: September 27, 2010, 09:58:14 pm »
PRAISE THE ALL-MIGHTY LORD OF CALCULATORS, AXE 0.4.5!

:)
Recursive subprograms!
Yea!
* ZTrumpet thanks Quigibo recursively. ;D

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Axe Parser
« Reply #1258 on: September 27, 2010, 10:03:48 pm »
Edit: no longer relevant
« Last Edit: September 27, 2010, 10:04:35 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Parser
« Reply #1259 on: September 27, 2010, 10:32:03 pm »
Nice to see the update!

Nibbles support are so gonna become handy in the future. Should be much easier to deal with them than with the /16 and ^16 trick!