Author Topic: Suave  (Read 21718 times)

0 Members and 1 Guest are viewing this topic.

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #120 on: February 05, 2011, 09:54:29 am »
After staying up till 3am doing bugfixes, moving to VC++, getting rid of freaking precompiled headers, and changing it back to just a single class, with a type enum, I am finally back to work on the actual breaking down of parsed data. Also added a way to test the output.

EDIT: for anyone worried, it will still be able to be compiled cross-platform.
« Last Edit: February 05, 2011, 09:59:34 am by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Ashbad

  • Guest
Re: Suave
« Reply #121 on: February 05, 2011, 10:11:25 am »
wow, nice work Binder! :D

@ DJ: just us two for now

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #122 on: February 05, 2011, 11:11:12 am »
OH MY GOD!!!! I cannot for the life of me fix the problem with the operator characters!!! It isn't breaking for them correctly! Ahhhhhhh!!!!!!!!! [/rant]
Anyways, I am having to do some serious debugging, but I'll fix it.

EDIT: oh. wow. fail. I just had to get a substring with a length of 1, instead of trying to dereference the character and then getting into char* problems.
Anyways, 1 small bug left, but it should be a lot easier to fix.

EDIT2: fixed! On to single-line comments

EDIT3: done! Unfortunately, it's kinda crude, so putting // ANYWHERE on a line (even in a string) will cause it to comment the rest of the line. I will fix this when I have added string support. :) But my dad just told me to take a break, so it'll be a little while.

EDIT4: added string recognition, and will soon add single-line comments.
« Last Edit: February 05, 2011, 02:42:44 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Ashbad

  • Guest
Re: Suave
« Reply #123 on: February 05, 2011, 02:59:21 pm »
wow, this is great!  I'm guessing you're working on a parsing thing that will check for certain things in a row, and then I add in the appropriate asm code?

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #124 on: February 05, 2011, 03:02:53 pm »
Hummm. That's a little difficult, as I would need to build a regular expression engine.
But yeah, you guessed right.  ;)

BTW, what is your sausage-dude avatar?

EDIT: added single-line comments
« Last Edit: February 05, 2011, 03:03:42 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Ashbad

  • Guest
Re: Suave
« Reply #125 on: February 05, 2011, 03:03:48 pm »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Suave
« Reply #126 on: February 06, 2011, 12:22:25 am »
Cross platform compatiblity would be nice, since a lot of us prefer to code under Linux.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #127 on: February 06, 2011, 09:01:11 am »
You know, the English language is actually kinda weird. You code in/under Linux, you code on a Mac, but you don't code on Windows 'cause that just sound odd.
I know Spanish doesn't have that, and I don't think a lot of other languages do either.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #128 on: February 06, 2011, 07:51:08 pm »
WOW! We went far down on the list! Anyways, I have been hard at work on the compiler, specifically the "regular command expressions" parser. This will make it a LOT easier to parser the file into different statements (like if statements, loops, classes, asm {}, etc.).

Attached are the latest build, and a test fie I put together. The resulting log.txt file shows all the tokens separated by lines.
« Last Edit: February 06, 2011, 10:36:18 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #129 on: February 07, 2011, 06:21:16 pm »
Even more updates, the syntax parser is coming together. If you give an invalid class name, it will show an error. Also with some other things. Working on finishing it.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Suave
« Reply #130 on: February 07, 2011, 06:33:14 pm »
I can't wait to see a working demo of this, even a small one :D How would you rank the current progress of this?

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #131 on: February 07, 2011, 09:36:39 pm »
Well, it only has file tokenizing and syntax parsing(mostly) done as of right now, so not too far. But I've only been at it 3 days (I didn't really get to work on it on Saturday).

EDIT: I am re-creating the java inheritance system. Ash, I know it might be a little hard to code (actually, I don't think it will be), but I am adding the functionality to the compiler. Classpath, imports, extends, implements, etc.
« Last Edit: February 08, 2011, 04:52:00 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Ashbad

  • Guest
Re: Suave
« Reply #132 on: February 08, 2011, 05:07:43 pm »
I can't wait to see a working demo of this, even a small one :D How would you rank the current progress of this?

Right now I'm gonna be busy until about friday, so unfortunately, binder is on his own for now :( but after friday this week I can really work on it a lot :)

I'd say it's less than 3% done. :P

And Binder: you are an awesome coder
Awesome Binder News is awesome ^-^ :D

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Suave
« Reply #133 on: February 08, 2011, 05:33:13 pm »
Thanks!  ;D
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Suave
« Reply #134 on: February 14, 2011, 12:16:51 am »
On a side note it might be good to re-upload the attachment since all attachments from Feb 4th to 10th are gone.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)