Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Munchor on June 25, 2011, 07:35:45 am
-
I have been working on an Axe Detokenizer for a while now. Today, with a precious tip Kerm Martian gave me, I manged to finally finish it.
Axe Detokenizer is an open-source, free, light-weight, simple and easy-to-use TI-83/84+ (SE) Axe Detokenizer. It opens Axe Source Files (.8XP) and makes text files with the detokenized code. It was made in Python and in order to use it, you need Python 2.6 or 2.7 installed. Since it was made using Python, it is also cross-platform, meaning it will work in all major Operative Systems.
To use it, type in the command line:
python axedetok.py source.8xp detokenizedcode.txt
In order to know how to use it, you can always try python axedetok.py --help
If you're a Linux user, it should be very easy to setup. If you're a Windows user you will need to have python in your path. To do this, go here (http://people.cis.ksu.edu/~schmidt/200f07/setpath.html).
Both a .zip and a .tar.gz were attached to make it easier for everyone to use it.
Todo:
- I need someone to make an executable version of it for Windows-Users
- I'll make a GUI Version soon enough
Enjoy!
-
(http://img.removedfromgame.com/imgs/GUIAxeDetokenizer.png)
I finished the GUI Version, I'll upload it later today.
-
It looks like you've got a bug on your hands. When a two-byte token is reached and parsed, the read pointer isn't advanced past both bytes, only the first byte. This results in every two-byte token being parsed as itself followed by the one-byte token represented by its second byte. To cite a few examples, I see Str2>Tok, DiagnosticOffSci, and Copy(nDeriv(.
-
The bug reported by Runer112 (thanks a lot) has been fixed and attached is the version 1.1!
Added:
- GUI Version (requires wxPython)
Fixed:
-
So will it eventually be able to go from text to 8xp?
-
So will it eventually be able to go from text to 8xp?
You mean tokenizing? I'm not sure if I could code that for now as it is quite hard I think.