Author Topic: BASIC ReCode v2.00  (Read 54969 times)

0 Members and 1 Guest are viewing this topic.

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: BASIC ReCode v2.00
« Reply #30 on: March 27, 2011, 05:52:09 pm »
Oh ok, you mean it would kinda be a totally new language where BASIC cannot be used, like MLC and BBC Basic, but using the PRGM editor, unlike BBC Basic?

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: BASIC ReCode v2.00
« Reply #31 on: April 05, 2011, 08:04:32 pm »
Is there a stand-alone thing for recode, or does it only run with Batlib?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #32 on: April 05, 2011, 09:44:20 pm »
What do you mean by stand alone? For now, ReCode is available only with BatLib because it uses BatLib routines and because apps always use multiples of 16384 bytes (even if it only has 1 byte of actual code). So, since both still fit on one app page (and there is still over 5000 bytes of code space left before it fills up), I have the two combined. I could make a ReCode app, but to ensure compatibility, it would still require dim(40 to begin ReCode. So if you want, you can think of BatLib as ReCode with BatLib included XD

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BASIC ReCode v2.00
« Reply #33 on: April 06, 2011, 07:29:06 am »
So Xeda, have you added comments to BatLib yet?

Wondering, since I'm starting to program in BatLib today :D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #34 on: April 06, 2011, 08:54:31 am »
I have not added it, but it won't be difficult. Is there a token in particular that should start a comment? I was thinking a newline followed by a space...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BASIC ReCode v2.00
« Reply #35 on: April 06, 2011, 08:59:24 am »
I have not added it, but it won't be difficult. Is there a token in particular that should start a comment? I was thinking a newline followed by a space...

I'd like it to be // like in most languages, or at least something that's not a space, the space is hard to spot and some people might want to use identation.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #36 on: April 06, 2011, 09:10:06 am »
I can probably do that as well as make a space a null character. Still, I think space are easy to spot since the screen is so small :P

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BASIC ReCode v2.00
« Reply #37 on: April 06, 2011, 09:10:55 am »
I can probably do that as well as make a space a null character. Still, I think space are easy to spot since the screen is so small :P

What about indentaters?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #38 on: April 06, 2011, 09:12:46 am »
Yeah, I will leave spaces as null commands.

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: BASIC ReCode v2.00
« Reply #39 on: April 06, 2011, 07:48:27 pm »
I think // is best for comments (c++ programmer here XD ) Also, if you haven't added it already, will you add a command to display a variable?

Edit: 200th post! XD
« Last Edit: April 06, 2011, 07:49:39 pm by HOMER-16 »

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #40 on: April 06, 2011, 07:54:26 pm »
Do you mean like display A or A'? For that you can use log(Text( and it will display the value in some base. If you omit the base, it automatically outputs in base 10 :)

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: BASIC ReCode v2.00
« Reply #41 on: April 07, 2011, 03:34:16 pm »
Oh ok I see, thx. (I gotta update batlib on my calc soon x.X ) :P

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #42 on: April 07, 2011, 03:39:25 pm »
Yeah, I plan to make a new update soon, anyway. I have to fix >, I have added // comments as well as 2 other commands. I am working on command 93 which will let you insert a list somewhere inside another list. I also need to add 3 more commands to do that for strings (deleteing bytes, inserting, and inserting other strings).

Ashbad

  • Guest
Re: BASIC ReCode v2.00
« Reply #43 on: April 07, 2011, 03:43:38 pm »
Hmm, // comments?  Thats actually very nice, I was tired of only having a string stored to Ans as a possiblility in BASIC.  Nice work :D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #44 on: April 07, 2011, 03:45:44 pm »
Hehe, thanks :) I was actually a little iffy about using //, but it really does look nice :) Also, it only works after a newline and it pretty much just skips the whole line and moves to the next one when it reaches a //

Does anybody else have any coding conventions that I should add?