Author Topic: MySQL and XML Tokenizer: CediT  (Read 4171 times)

0 Members and 1 Guest are viewing this topic.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
MySQL and XML Tokenizer: CediT
« on: January 03, 2011, 03:26:21 pm »
Like I promised I create this thread for my (de-)tokenizer. There is a download attached to this post, and a tokens xml-file is downloadable from coupler.netai.net/tokens.php. Remove the ads at the bottom of the file first, before loading it into CediT. If you don't, the program will die! (just once, not forever though :P)

some screens:

« Last Edit: January 07, 2011, 10:21:12 am by LordConiupiter »
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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: MySQL and XML Tokenizer: CediT
« Reply #1 on: January 04, 2011, 02:42:24 pm »
What is a MySQL/XML detokenizer, though? O.O

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: MySQL and XML Tokenizer: CediT
« Reply #2 on: January 05, 2011, 04:56:35 pm »
oops, forgot to explain that... :$
It is a pretty conventional tokenizer and detokenizer, and it reads it's tokens from an xml file, or from a database.
For this feature you need a password, but I'm not gonna type it on public pages, so it could be easily found...
Just PM me for it ;)
I think you know what a tokenizer is, but for those who don't:
it's a program which converts typed in tokens to hex, and vice versa. This way you can write your own calc programs on your PC!
It's not ready yet, but it has the following features implemented:
- immediate conversion
- connection with a database (MySQL)
- changing typed tokens to their nicer equivalents when Shift-Space is pressed, like -> will become an arrow. Those tokens and replacements have to be declared in a file, which can be loaded on start of the program, or declared in a file called alts01.xml at the application startup path.
- single token conversion (mainly for testing, but also for showing the description of a token if available)
- saving database data to an XML file
in the future those features will be added:
- replacement chars in the database
- enable modifying descriptions and suggesting them to the database
- saving to an 8xp file

and if I've forgotten anything, just give me a shout ;)
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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: MySQL and XML Tokenizer: CediT
« Reply #3 on: January 06, 2011, 01:56:45 am »
interesting but I assume it is like Merthsoft's Token software? Or is it kinda different?

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: MySQL and XML Tokenizer: CediT
« Reply #4 on: January 07, 2011, 09:45:13 am »
yes, that's right... but the extra feature this program has is MySQL database connection, and it's different in many aspects concerning the way it works and looks ;)
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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: MySQL and XML Tokenizer: CediT
« Reply #5 on: January 07, 2011, 07:14:39 pm »
But what's the database connection for? ??? Is it because your program will store the programs source code on a web server somewhere?

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: MySQL and XML Tokenizer: CediT
« Reply #6 on: January 11, 2011, 02:03:55 pm »
no, in the database all tokens and their hex codes are stored...
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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: MySQL and XML Tokenizer: CediT
« Reply #7 on: January 12, 2011, 01:24:07 am »
Ah ok, thanks for the info. Sorry but this was rather cryptic as project so it was hard to understand its purpose. :/

Also I just saw the screenshots, nice.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: MySQL and XML Tokenizer: CediT
« Reply #8 on: January 12, 2011, 03:55:30 pm »
You have a B:\ drive? How's that?

EDIT: I finally understood what this does :) Thanks to the screenshots. Is it open-source? I'd really like to see your detokenizing engine :)
« Last Edit: January 12, 2011, 03:57:08 pm by ScoutDavid »

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: MySQL and XML Tokenizer: CediT
« Reply #9 on: January 12, 2011, 06:47:19 pm »
You have a B:\ drive? How's that?
Technically, it does it in order, so you can have a B:\ drive. I have an A:\ drive fora  3 1/2 floppy, I don't remember what hardware piece B:\ would be.  C:\ is obviously the first partition on my hard-drive.  Also, it's \ not /.  / is for linux/unix and usually will work in windows. But \ is more technically correct. Just some fun info there. ;-)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: MySQL and XML Tokenizer: CediT
« Reply #10 on: January 13, 2011, 04:19:32 am »
Originally, A:\ and B:\ were for floppy drives and C to Z for the rest, since most of the computers at the time had 2 of them. Windows now lets you map drives to B:\ (and maybe even A:\ if you have no floppy). Myself, I have a B:\ drive for a MS-DOS partition.

Fun fact: I managed to map non-alphabetical drives once ($:\ or 1:\) :P

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: MySQL and XML Tokenizer: CediT
« Reply #11 on: January 13, 2011, 09:41:16 am »
Originally, A:\ and B:\ were for floppy drives and C to Z for the rest, since most of the computers at the time had 2 of them. Windows now lets you map drives to B:\ (and maybe even A:\ if you have no floppy). Myself, I have a B:\ drive for a MS-DOS partition.

Fun fact: I managed to map non-alphabetical drives once ($:\ or 1:\) :P

You have a B:\ drive? How's that?
Technically, it does it in order, so you can have a B:\ drive. I have an A:\ drive fora  3 1/2 floppy, I don't remember what hardware piece B:\ would be.  C:\ is obviously the first partition on my hard-drive.  Also, it's \ not /.  / is for linux/unix and usually will work in windows. But \ is more technically correct. Just some fun info there. ;-)

Thank you guys for the detailed explanation.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: MySQL and XML Tokenizer: CediT
« Reply #12 on: January 13, 2011, 06:30:31 pm »
Originally, A:\ and B:\ were for floppy drives and C to Z for the rest, since most of the computers at the time had 2 of them. Windows now lets you map drives to B:\ (and maybe even A:\ if you have no floppy). Myself, I have a B:\ drive for a MS-DOS partition.

Fun fact: I managed to map non-alphabetical drives once ($:\ or 1:\) :P

You have a B:\ drive? How's that?
Technically, it does it in order, so you can have a B:\ drive. I have an A:\ drive fora  3 1/2 floppy, I don't remember what hardware piece B:\ would be.  C:\ is obviously the first partition on my hard-drive.  Also, it's \ not /.  / is for linux/unix and usually will work in windows. But \ is more technically correct. Just some fun info there. ;-)

Thank you guys for the detailed explanation.
no problem.  I'm wondering if I should hook any hardware up to that B:/ part. Maybe an SD card reader or 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: MySQL and XML Tokenizer: CediT
« Reply #13 on: January 17, 2011, 04:08:32 pm »
I always hated how it was \ instead of /. It makes it much harder to type x.x

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: MySQL and XML Tokenizer: CediT
« Reply #14 on: February 09, 2011, 07:28:38 am »
I like it, but i dont get the token change func... shift-space doesnt seem to work...

And, am i right that you can use the hex code using asmprgm??
so,
program BBBB
Asmprgm
[Hex]
and run it with asm(prgmBBBB
or am i completely missing the point?

EDIT: No, it didnt work. what is the point of the hex code, then? (its a good prog, though)
« Last Edit: February 09, 2011, 09:20:12 am by aeTIos »
I'm not a nerd but I pretend: