Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - merthsoft

Pages: 1 ... 9 10 [11] 12 13 ... 16
151
TI Z80 / Re: Tokens
« on: December 18, 2010, 12:02:22 am »
Yeah, there's something in there now that was supposed to prevent the non-leaf nodes from not pasting, but it didn't quite work all the way. Double clicking on the leaves, though, is supposed to paste in.

152
TI Z80 / Re: Tokens
« on: December 17, 2010, 11:46:32 pm »
Haha, when you double click it inserts it, so it's tokenizing the string "PicArc".

153
TI Z80 / Re: Tokens
« on: December 17, 2010, 11:15:46 pm »
Alright, so I decided I should work some on the actual text editor part while also working on the DCS stuff (the DCS stuff is tedious, so I switch gears often to keep from getting too bored). I've added a reference pane, as seen here:

You can set the groups and reference data in the XML file (the "Default" group is what an item without a group goes in to). Right now I have the groups, but just documentation for the stuff for DrawTileMap. Double clicking on the node adds it into the current program. I've put up a new link so you can check it out (note, some of the tabbed-editing stuff still needs to be cleaned up, so beware ;)):
http://myserverathome.com/Tokens.zip

154
TI Z80 / Re: Tokens
« on: December 13, 2010, 09:44:27 am »
Thanks DJ!

squidgetx: I'm glad the tolerance level is helpful. Some people weren't so sure it would be, and, honestly, I wasn't 100% sure it was worth it to put in. But it only took like 5 minutes to include, so I figured I might as well.
If you're feeling up to it, you're welcome to go in to the .xml file and add the Axe tokens that I've missed. Since I don't do Axe, I don't really know what everything should be.

155
TI Z80 / Re: Tokens
« on: December 11, 2010, 08:37:22 pm »
Thanks, squidgetx, that means a lot. I'm glad people are using it :)

156
TI Z80 / Re: Tokens
« on: December 11, 2010, 08:26:44 pm »
So, little update tonight. I've added tabbed editing, and loading/saving txt files. In addition to the text files, I've added comments. Any line that starts with "#" will be ignored once it's tokenized into a program. To demonstrate:


Next I'll probably switch gears back toward the DCS GUI editor, as per Eeems' request :)

157
Computer Programming / Re: Brainf*ck
« on: December 08, 2010, 05:56:42 pm »
If you're a fan of esoteric programming languages, you should check out the esolang wiki!:
http://esoteric.voxelperfect.net/wiki/Main_Page

158
Computer Programming / Re: Brainf*ck
« on: December 08, 2010, 02:52:15 pm »
It is interpreted, though that doesn't mean that it couldn't be compiled. I made a .NET interpreter recently: http://myserverathome.com/BFI.exe.

159
TI Z80 / Re: Tokens
« on: December 06, 2010, 01:29:15 pm »
Only the ones that are converted in to commands that you don't want to be tokenized. It actually helps, in some cases, because it'll save space. For instance, if the dialog is:
"Hello, friend, what would you like to buy today?"
Those will all be separate letters, because none of those are commands. However, if you have:
"Input your name:"
The "Input " will be tokenized, which would save you 9 bytes if you wanted to keep it that way. If you didn't, you'd simply put:
"Inpu\t your name:"

160
TI Z80 / Re: Tokens
« on: December 06, 2010, 11:18:08 am »
If you have "!=" it will turn in to the not equals sign. However, if you do "!\=", it will convert it to the two separate symbols.

Nice, so I can put \ in between any characters and it'll parse them separately?
Yup! The "\" character is basically the "parse this next character as a single character" flag (or maybe it's "stop parsing this word at this charcter? I forget, I think the latter is more useful, though, so if it's not that now it will be soon).

161
TI Z80 / Re: Tokens
« on: December 05, 2010, 08:58:53 pm »
If you have "!=" it will turn in to the not equals sign. However, if you do "!\=", it will convert it to the two separate symbols.

162
TI Z80 / Re: Tokens
« on: December 05, 2010, 12:45:36 pm »
It's not, though. It can be one part of compiling, but it's not really compiling itself. Compilation is the process of turning one computer language into another, and this isn't doing that. It's taking one computer language, and turning it into its tokenized form.

163
TI Z80 / Re: Tokens
« on: December 05, 2010, 12:25:46 pm »
These are all things I plan on putting in, but I'm glad that other people would find them useful as well. It will be project-based, so Ctrl-S will save the file as plain text, and F5 will "build" it. I'm hesitant to call this a compiler, though, as it's not really compiling anything. It's simply tokenizing the input, which isn't quite the same.

164
TI Z80 / Re: Tokens
« on: November 22, 2010, 09:37:13 pm »
Alright, here's the ticalc link!
http://www.ticalc.org/archives/files/fileinfo/433/43315.html
Source will not be provided, as this is not an open source project.

165
TI Z80 / Re: Tokens
« on: November 21, 2010, 04:08:39 pm »
It's planned, I just haven't gotten around to it yet. Work and personal issues have taken most of my energy, so I just wanted to get a release out.

Pages: 1 ... 9 10 [11] 12 13 ... 16