Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: TiMoW1337 on November 25, 2013, 11:29:39 am
-
Hello, I wanted to be able to create axe programs in the small font so I decided to make an editor.
My current version loads a fixed program and detokenizes it. Then you can edit it using the keyboard or some special menu's which insert tokens as strings.
When you want to save the program it searches through the program for know tokens and converts them before writing back to the program.
currently there are still a lot of TODO's:
- Add more tokens. (To the tokenizer and to the menu's).
- A program browser.
- Insert other programs.
- Copy / Paste
- Bookmarks
- Support for Axe tokens..
It's still a work in progress.
(http://i.imgur.com/GFdDgtG.gif)
-
This looks interesting. But are the tokens case-sensitive? It might be easyer if they aren't.
-
Currently they are case sensitive, but the plan is to make an algorithm to Lower the case.
-
Pretty easy to do actually. The caps and lowercase letters are at a fixed offset so a quick comparison + addition should do the trick. Otherwise, sounds good.
-
Looking interesting!
Are you planning on adding IDE-like features?
-
Yes, I know the lower case is simple, I just need to implement it..
Which features?
Any suggestions are welcome.
-
Like build-and-run button. Axe has an API for compiling but you need to know some ASM or ask for the hex.
-
or also easy listing/jumping between other programs in that project, indentation, listing subroutines
-
Yeah stuff like that. Look at ZStart's editor features (these are added to the default OS editor).
-
Oh and Syntax coloring!
Seriously, something like highlighting the matching End would be rad
-
Syntax highlighting is actually very possible with greyscale and text inverting..
-
That looks great already : :D
May I suggest you to make "usual buttons" work, I mean make menus exactly like in the TI-OS (but if I understood correctly how your program works, they would insert characters, not tokens) ? Of course, that doesn't prevent you from adding other ways to write, but I think most of us are really used to those menus.
-
Also make 2nd and Alpha work like Control/Shift/etc. on the comp.
-
@Hayleia Later I will add another mode where you can use the original buttons, In the menu's the numbers of the tokens are the same as the TI-os numbers.
The current modes are numbers, alpha lower and alpha upper case.
For the grey scale syntax highlighting, is it possible to draw text to the backbuffer in AXE?
-
You should make a custom text routine for this. The default one is pretty slow as everything TI writes anyway. :P
Edit :
Syntax highlighting is actually very possible with greyscale and text inverting..
Lol why did I get downvoted on this ? XD
-
For the grey scale syntax highlighting, is it possible to draw text to the backbuffer in AXE?
There was an Axiom made by Jacobly for that. I have no idea where it is though. It was called TEXT.
edit http://ourl.ca/16517
-
That Axiom is greeat, even in GrayLib (I don't understand how Runer's commands work)
-
So many people are making IDE's O.O good luck! I certainly would love one just for the small font, it's too easy to get "lost" in your code with the big font.
That Axiom is greeat, even in GrayLib (I don't understand how Runer's commands work)
Same, I checked it out earlier today and it confused me...
-
So many people are making IDE's O.O good luck! I certainly would love one just for the small font, it's too easy to get "lost" in your code with the big font.
That Axiom is greeat, even in GrayLib (I don't understand how Runer's commands work)
Same, I checked it out earlier today and it confused me...
i just use the Text Axiom, and presto, that's easier to use!
-
Cool, can you put a link? I can't find it.
-
Cool, can you put a link? I can't find it.
A link to that Axiom ? Just scroll to my first post on this page ;)
-
i just use the Text Axiom, and presto, that's easier to use!
OH awkward I thought he said he made another text axiom :P
-
That Axiom is greeat, even in GrayLib (I don't understand how Runer's commands work)
So many people are making IDE's O.O good luck! I certainly would love one just for the small font, it's too easy to get "lost" in your code with the big font.
That Axiom is greeat, even in GrayLib (I don't understand how Runer's commands work)
Same, I checked it out earlier today and it confused me...
You can post in the GrayLib thread and ask questions, you know. I promise I won't bite. :P