Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: miotatsu on December 24, 2009, 03:23:09 am

Title: ATI-BASIC
Post by: miotatsu on December 24, 2009, 03:23:09 am
BasiC++ will be an interpreted programming language for the PC based directly off of Ti-Basic
currently it has:
ClrDraw
Pxl-On
Pxl-Off
Pxl-Change
Getkey(sort of)
storing(sort of)

right now i am working on the font system to be used with Text()

current features i want to get implemented are:
and
Ans
Else
End
For
getkey
Goto
If
Input
Lbl
not
or
Pause
Prgm
Prompt
Pxl-Test
RecallPic
Repeat
Return
Stop
Text
While
xor

credits go to pifreak for the original BasiC++ source :{D

info on why file loading wasn't working:

i was declaring
std::string Filename;
globally, (this is a string to hold the name of the file that gets loaded into the system, its declared globally so everything can use the code, it isn't limited to one single function)
next in the main function i stored the contents of the Filename into the string so that it can be opened in my run() function
std::string Filename = argv[1];
(when you drag and drop a file onto the program the name of the file is stored in Argv[1])
This will not work. What happens here is that the string is re-declared locally, this means it can't be used outside of main, this is because putting std::string in front of Filename tells it that you are declaring filename as a string, which overides the previous declaration.
in order to fix this you simply do
Filename = argv[1];
as can be seen it is a very basic mistake, but it should definitely be payed attention to because it can cause a lot of trouble if one doesn't understand it
thanks go to Chile from Efnet's #C++ for pointing this out to me, and pifreak for helping as well and stuff :)
Title: Re: BasiC++
Post by: ztrumpet on December 24, 2009, 11:17:41 am
I see you have "and", so I was wondering if you would include "or" and/or "xor" also?
Title: Re: BasiC++
Post by: miotatsu on December 24, 2009, 12:22:04 pm
ah thanks, i overlooked those *updates post*
Title: Re: BasiC++
Post by: Eeems on December 24, 2009, 12:38:05 pm
Hmm, I could get to like this when it's done :p a good way to transition to computur languages when the time comes. So with this, does it use the whole screen? Or just a window?
Title: Re: BasiC++
Post by: miotatsu on December 24, 2009, 03:01:57 pm
right now it just uses a small little window the same size as a calc screen and tinted the same color as well, but i do plan on supporting larger/custom screen sizes later on
Title: Re: BasiC++
Post by: Eeems on December 24, 2009, 03:09:54 pm
ah ok sweet!
Title: Re: BasiC++
Post by: DJ Omnimaga on December 24, 2009, 03:13:52 pm
cool, I would like this. Due to my old skoolness I would most likely use 320x240 a lot
Title: Re: BasiC++
Post by: miotatsu on December 24, 2009, 03:32:56 pm
yeah, just keep in mind that if you use a custom screen i won't have support for commands that use the pixel array because it will be based off of the original calc dimensions or a direct multiple of said dimensions, but because a custom screen size most likely would not be a multiple of the original dimensions the pxl commands would not work properly and thus need to be disabled, this is made upf ro by the fact that it will have support for custom sprites and image loading (or at least this is what i plan on having)
Title: Re: BasiC++
Post by: DJ Omnimaga on December 24, 2009, 03:38:47 pm
would it still work with real(1/2 commands, though? It would be cool to still be able to use sprites and tilemaps regardless of the screen dimensions (8x8 or 16x16)
Title: Re: BasiC++
Post by: Eeems on December 24, 2009, 03:38:51 pm
hmm, could you design a command like the pixel command? like a custompxl? so it works with the custom screensize?

also how soon do you think there will be an alpha/beta release?
Title: Re: BasiC++
Post by: miotatsu on December 24, 2009, 04:43:04 pm
i may make a custompxl command but right now its not on the top of the list of things to get done :P however right now i am having a rather strange issue, i created a simple system to load a generic file and interact with its contents, strangely tho it will not open the file, here is the code:
Code: [Select]
#include <iostream>
#include <fstream>
#include <string>


using namespace std;

ifstream file;
string Filename;

void run();

int main (int argc, char *argv[])
{
if (argc == 2){
string Filename = argv[1]; }
run();
cin.get();
return 0;
}

void run()
{
string line;
file.open(Filename.c_str());
if (file.is_open())
{
while (! file.eof() )
{
getline (file,line);
cout << line << endl; }
file.close(); }
}
what this is supposed to do is you drag a text file (with text in it) onto the exe and it outputs the contents of it into the console window, however when a file is dragged onto it the console opens as it should, but no text is output-ed (the file fails to load) 
Title: Re: BasiC++
Post by: Eeems on December 24, 2009, 04:52:11 pm
hmm, I wish I could help, but I don't know what language you are using...
Title: Re: BasiC++
Post by: ztrumpet on December 24, 2009, 04:59:33 pm
It looks like C++. Is it?
Title: Re: BasiC++
Post by: DJ Omnimaga on December 24, 2009, 05:03:08 pm
I think this is his project parts of source code, not actual code it can interprets
Title: Re: BasiC++
Post by: miotatsu on December 24, 2009, 05:29:13 pm
this is just some example code in C++ of what im trying to get my Interpreter to do, the interpreter is supposed to open a file with BasiC++ code in it, rip lines of code out of it and do something based on the code it ripped, this example program demonstrates that it is failing to open the file for an unknown reason, basically you can consider that code i posted as a source of an example interpreter, what i'm working on right now is trying to get that program to successfully open a file, if i can do that i will be able to get back to working on BasiC++ commands
Title: Re: BasiC++
Post by: miotatsu on December 24, 2009, 09:21:00 pm
i got it fixed, i will be updating the main post with a small tutorial explaining the issue and how to prevent it :)
Title: Re: BasiC++
Post by: DJ Omnimaga on December 24, 2009, 09:28:08 pm
yay!
Title: Re: BasiC++
Post by: miotatsu on December 25, 2009, 01:56:10 am
ok, i am going to start work on the font-system, i currently plan on having the following symbols available: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()-+={}|\[]/?<>,.`~(theta)(pi)(omega)
if there are any other symbols you think should be included be sure to tell me asap, i'm also open to suggestions on what not to include if you think some things are unnecessary, also keep in mind that the symbols i use for my font can be symbols that can't be directly typed with a keyboard, i can easily make BasiC++ accept codes in order to display certain symbols
Title: Re: BasiC++
Post by: Eeems on December 25, 2009, 02:01:33 am
How about that wierd char that looks like te outline of a head? And theta? And pi?
Title: Re: BasiC++
Post by: miotatsu on December 25, 2009, 02:37:45 am
im unsure what you mean by the one that looks like a head ((http://tibasicdev.wdfiles.com/local--files/83lgfont/A5h_LcapODier.gif),(http://tibasicdev.wdfiles.com/local--files/83lgfont/B2h_LcapCCed.gif)?)
and as for theta and pi.... *updates previous post :D*
Title: Re: BasiC++
Post by: Eeems on December 25, 2009, 03:56:34 am
It's the most commonly used one for ASCII people...
 /—\
_| |_

if that helps.
Title: Re: BasiC++
Post by: ztrumpet on December 25, 2009, 09:12:15 am
It's the Greek letter Omega. Ω
Title: Re: BasiC++
Post by: miotatsu on December 25, 2009, 10:00:08 am
ah, alright, i'll add that to the list
Title: Re: BasiC++
Post by: miotatsu on December 27, 2009, 12:47:53 am
the font is finished, working on coding a system to open and interact with it now
Title: Re: BasiC++
Post by: Eeems on December 27, 2009, 01:26:54 am
Sweet! Can't wait to see this in action :p
Title: Re: BasiC++
Post by: DJ Omnimaga on December 27, 2009, 01:30:28 am
Great!
Title: Re: BasiC++
Post by: Galandros on December 27, 2009, 10:21:34 am
Will you implement a full TI-BASIC interpreter?
xLib and CelticIII functions would be cool too. ;D
Title: Re: BasiC++
Post by: ztrumpet on December 27, 2009, 10:25:23 am
I can't wait to see what this looks like!
It sounds great so far. :D
Title: Re: BasiC++
Post by: DJ Omnimaga on December 27, 2009, 11:25:35 am
ATM he's aiming for the functions most people need in pure BASIC games, then some others, then eventually maybe xLIB/Celtic ones. He's not aiming for a full interpreter, though, because there are plenty of functions useless in BASIC games.
Title: Re: BasiC++
Post by: simplethinker on December 28, 2009, 12:11:27 pm
This looks like an interesting project :)

I'm a little confused though.  Are you creating a PC language just based on TI-Basic, or are you emulating TI-Basic?  If this is only based on Basic, then you have a bit more leeway with adding extra functions, or slightly changing some functionality ::)
Title: Re: BasiC++
Post by: TIfanx1999 on December 28, 2009, 02:38:04 pm
I'm confused as well. Also, whatever this watchamadoodle is, what language are you writing it with? =D
Title: Re: BasiC++
Post by: simplethinker on December 28, 2009, 02:41:41 pm
Also, whatever this watchamadoodle is, what language are you writing it with? =D
I believe he's writing it in C++ (at least that's what the code snippits look like).
Title: Re: BasiC++
Post by: DJ Omnimaga on December 28, 2009, 09:24:49 pm
I think at first, it is meant to have a PC language that lets you program calc-like games on the PC, but it removes most functions never used inside games, but eventually it will let you make games of resolutions other than 96x64 like maybe 320x240 and add a few more functions so we can make more advanced games, while still being as easy as TI-BASIC to make them.
Title: Re: BasiC++
Post by: miotatsu on December 28, 2009, 09:56:33 pm
exactly, it is a language based off of Ti-Basic trying to maintain the concepts of being a simple easy to use language but with goo d enough functionality to make good quality pc games with it, i am starting out making it almost-identical to a slimmed down version of ti-basic and then from there i will build off it adding in more functionality. It is written in C++
Title: Re: BasiC++
Post by: DJ Omnimaga on December 28, 2009, 10:17:50 pm
My biggest hopes is that it will have good speed on older computers like mine :), at least something bearable for old skool gamers
Title: Re: BasiC++
Post by: Eeems on January 23, 2010, 06:32:56 pm
BUMP
any updates?
Title: Re: BasiC++
Post by: DJ Omnimaga on January 23, 2010, 07:28:49 pm
/me hopes it is alive ^^

I think Mio is working on another game, though (which uses Piworld PC engine)
Title: Re: BasiC++
Post by: Eeems on January 23, 2010, 07:35:37 pm
ah ok :/
I hope he finishes this though
Title: Re: BasiC++
Post by: miotatsu on January 23, 2010, 07:45:57 pm
Eeems: well, i had a big project and stuff due for school so i didnt work on it much, and then after that i was just lazy, but as of now i have a routine to rip the text and convert it to ascii codes, but from those i still need to convert it to variables defining where to rip the character sprite from, so basically i mean: yes but not enough for pretty eye-candy yet, and yes i have also been working on a different game as well
Title: Re: BasiC++
Post by: Eeems on January 23, 2010, 07:47:57 pm
ah ok, thats good that there was at least some progress. Good luck with the game :D
Title: Re: BasiC++
Post by: DJ Omnimaga on January 23, 2010, 07:50:52 pm
WIll you post about the other game here soon? Or is it reserved for another community/being worked on mostly by someone else?
Title: Re: BasiC++
Post by: miotatsu on January 23, 2010, 07:54:05 pm
right now all the work being done on it is the making of a map for it which is zecro's job, i have not heard from him in a while so i don't know if he's even still working on it, i will post it here if he pops in with a finished map one day tho :p
Title: Re: BasiC++
Post by: DJ Omnimaga on January 23, 2010, 08:20:33 pm
Aaah cool. Watch out about team projects tho, most people in the community had no good experience with them, simply because of a key member vanishing completly or losing his progress

I myself got victim of them once: Mystique is a big example. The guy writing the story left after i finished chapter 3 I think and I had to make up the rest of the story myself x.x
Title: Re: BasiC++
Post by: ztrumpet on January 23, 2010, 08:58:36 pm
Yay!  I'm glad for the progress. :D
Title: Re: BasiC++
Post by: miotatsu on January 26, 2010, 10:58:37 pm
i have some good news and some iffy news:
the good news: i heard from zecro and he has made some progress on the map, he did not give up on it
the iffy news: the last thing he said was "Cya, you probably won't see me much on this account anymore."
the on-topic news: i finished an array of ascii look up codes so i only need to make an array of coords and then code in a comparison check and i will have everything i need for my text system
Title: Re: BasiC++
Post by: Eeems on January 26, 2010, 11:10:25 pm
ah :/
well at least there is good news :D
Title: Re: BasiC++
Post by: DJ Omnimaga on January 27, 2010, 12:55:51 am
ouch this sucks, I hope he reconsiders leaving the project and stuff x.x

Either way nice to see progress on your stuff
Title: Re: BasiC++
Post by: ztrumpet on January 27, 2010, 09:31:16 am
Ouch.  Good luck with this, it sounds great!
Title: Re: BasiC++
Post by: miotatsu on January 27, 2010, 04:56:52 pm
well i found out later that he was banned from ITS and was ban-evading when i talked to him, and that is why he said that, as far as i know he will still work on the game, either way i will be focusing on this project tho (BasiC++)
Title: Re: BasiC++
Post by: Eeems on January 27, 2010, 05:12:44 pm
ah ok :/
yay, moar progress on BasiC++!
Title: Re: BasiC++
Post by: ztrumpet on January 27, 2010, 05:17:01 pm
Ah.
Yea!  More progress!
Title: Re: BasiC++
Post by: DJ Omnimaga on January 27, 2010, 11:46:00 pm
Oooh ok I see why. Well, then I guess this clear confusion. Else, is that person actually ok? I mean, not trollish like Shares5 and not as rude as RectOmni/SaddisticusMaximus or that other guy who used just "Mio" as nickname but was not you? I know ITS bans just for swearing so even the nicest Omnimaga members could get banned from there. If the person is ok, would he be interested in actually posting progress here or your IRC channel? That might actually help you remain in contact with him.
Title: Re: BasiC++
Post by: miotatsu on January 29, 2010, 04:07:23 pm
I'm not sure exactly what he did to get banned but from what i have heard i think it was advertising (talking about) runescape, but i don't know that for sure. he seems like a good guy to me tho, i will see if he would like to post the project here, that definitely would make it much easier for me to keep in contact with him. But also of course i know plenty of ITS members have already been rather trollish/bad so if i do i will be sure to keep a close eye on him :S
Title: Re: BasiC++
Post by: DJ Omnimaga on January 29, 2010, 06:33:17 pm
Oh right advertising XD

I guess it should be safe then :P
Title: Re: BasiC++
Post by: miotatsu on January 30, 2010, 05:33:05 pm
i finnally cleaned up my desktop, modified paths, and made a proper project file for BasiC++ so development should go faster now, stay tuned for updates! :{D
also i installed ubuntu, so i will make sure it stays compatible with linux at all times ^.^
Title: Re: BasiC++
Post by: Eeems on January 30, 2010, 05:57:00 pm
yay!
hmm, I just had a thought, how hard would it be to integrate with an update system, like firefox has? so you could put out a beta and then let everybody automatically update as you work?
Title: Re: BasiC++
Post by: miotatsu on January 30, 2010, 08:12:56 pm
I've been wanting to do that as well, but i am not sure how to go about that, because i have never done any programming related to networking/packets/sockets as of now. if i were to do it i know i would need a system that runs in the background on the client system, checks to see if an update has been made, and if it is then prompt the user if they want to download and install it. one thing i do have planned is an installer tho, that shouldn't be an issue
Title: Re: BasiC++
Post by: Eeems on January 30, 2010, 08:52:54 pm
well, you could find a way to integrate with mozilla's XUL system. no idea how you would though.
Title: Re: BasiC++
Post by: ztrumpet on January 30, 2010, 10:37:37 pm
What about for people (like me) that don't have mozilla?

I'm glad this is progressing! :D
Title: Re: BasiC++
Post by: Eeems on January 30, 2010, 10:43:34 pm
You don't need mozzilla for it.
Title: Re: BasiC++
Post by: ztrumpet on January 30, 2010, 10:48:35 pm
Ah, okay.  :)
Title: Re: BasiC++
Post by: DJ Omnimaga on January 30, 2010, 11:31:37 pm
another note: if the guy posts here, tell him to not first advertise something here as first message, because we might mistake him as a spambot :P
Title: Re: BasiC++
Post by: miotatsu on January 31, 2010, 05:14:39 pm
some screenies:
(http://i534.photobucket.com/albums/ee348/Miotatsu/Untitled-51.png)
(http://i534.photobucket.com/albums/ee348/Miotatsu/Font.png)
(http://i534.photobucket.com/albums/ee348/Miotatsu/Untitled-50.png)
Title: Re: BasiC++
Post by: cooliojazz on January 31, 2010, 07:28:29 pm
Wow, thats awesome!
Title: Re: BasiC++
Post by: ztrumpet on January 31, 2010, 07:47:44 pm
Wow!  That looks really awesome!  It looks extreemly great!  It's amazing. ;D
You've done a very, very good job with this! :)
Title: Re: BasiC++
Post by: DJ Omnimaga on February 01, 2010, 12:16:17 am
wow really great and I like the calc-like style, altough I still hope for support for more complex graphics in the future so we can make some old skool 2D PC style games ^^
Title: Re: BasiC++
Post by: TIfanx1999 on February 01, 2010, 11:26:18 pm
It looks like this is really moving along nicely. Good work! =)
Title: Re: BasiC++
Post by: miotatsu on February 02, 2010, 12:37:53 am
yeah, i just realized i was stupid and set the font up poorly tho, because i have some non-type-able characters in between type-able ones that means there are gaps between different values in my array, those gaps mean that if i wanted to type "0" it would actually display "y" and things like that, my solution to this issue is to simply remake the font file so that all non-type-able characters are at the /end/ of the file.
Title: Re: BasiC++
Post by: DJ Omnimaga on February 02, 2010, 02:03:04 am
ouch x.x, good luck!
Title: Re: BasiC++
Post by: Tribal on February 02, 2010, 09:55:13 am
How exactly are you getting what character to output? I'm kinda curious because there might be a better way than what your are doing(if you are doing what I'm thinking you are).
Title: Re: BasiC++
Post by: miotatsu on February 02, 2010, 05:00:31 pm
i rip the characters one by one from the string, convert them to their ascii equivelent, and then reference an array to get the number of how many iterations the loop will need to go in order to be at the location of the character in the image, it then draws a rectangle around the character, blits the character onto the screen, and then moves onto the next character until all have been blit, finally it flips the screen, showing the pretty little message the user entered. :{P
Title: BasiC++
Post by: miotatsu on February 18, 2010, 11:54:35 pm
i will be working on an interpreter for a language similar to ti-basic with pifreak, updates and discussion can go here.
Title: Re: BasiC++
Post by: meishe91 on March 31, 2010, 10:21:44 pm
This actually sounds really cool. Could give all of us TI-BASIC programmers a chance at some easy computer stuff :)
Title: Re: BasiC++
Post by: DJ Omnimaga on March 31, 2010, 11:10:10 pm
Indeed. What I wonder, though: would it be a good occasion to actually do something like Axe Parser? Maybe even support copy/pasting code from SourceCoder straight into BasiC++ editor then compiling or something without the need to change anything. It could make it easier to port calc games to the PC and obviously you could still add additional options for better graphics and resolution ^^

Of course for that you would need to wait until Axe is done, though.
Title: Re: BasiC++
Post by: meishe91 on March 31, 2010, 11:13:08 pm
I don't think I caught all that but from what I did get that sounds like that would be a good idea.
Title: Re: BasiC++
Post by: miotatsu on April 01, 2010, 12:01:21 am
It is still a pretty open topic right now, so i will definitely consider such things, one major issue though is that right now it is a team project plus it is on hold, once i do get to working on it as a main project there is the issue of conflicting coding styles, so far i do not know if pifreak will be able to put up with the way i don't indent code and do not comment and stuff like that, also i have kind of considered breaking off, and creating my own completely based on the original idea, only time will tell how this project will turn out, but i have high hopes :)
Title: Re: BasiC++
Post by: DJ Omnimaga on April 01, 2010, 12:45:51 am
Mhmm I hope pifreak don't quit, it would suck if this killed the project X.x

Couldn't you consider a plan B in case? Have him send you the sources regulary in case he vanishes and ask him if he quits if he can let you continue or base a new software on his?
Title: Re: BasiC++
Post by: miotatsu on April 01, 2010, 12:51:25 am
yeah thats what i mean, i am thinking if it doesnt work out i may break off from the BasiC++ project and do my own thing
and yeah the current plan is that every time one of us updates it and we are both actively working on it that we will send the updated source to the other
Title: Re: BasiC++
Post by: DJ Omnimaga on April 01, 2010, 12:52:17 am
good to hear :)

In the past I saw many team projects die due to a teamate leaving :(
Title: Re: BasiC++
Post by: meishe91 on April 01, 2010, 01:42:46 am
Well I hope what ever happens doesn't hurt anything, or at least to bad. But I'd hate to see this die, so many opportunities.
Title: Re: BasiC++
Post by: code241 on May 09, 2010, 11:20:02 am
I would also hate to see this project die.
Title: Re: BasiC++
Post by: Stephan on May 10, 2010, 12:19:22 pm
This could be cool. You should follow through with it. Don't let this great idea die in vain!!!! :D
Title: Re: BasiC++
Post by: ztrumpet on May 10, 2010, 04:12:08 pm
I also would like to see this project.  Has there been any progress?
Title: Re: BasiC++
Post by: miotatsu on May 10, 2010, 07:39:44 pm
right now this project as well as piworld have been put on hold until June, however i have not forgotten about it! I have been thinking that when i get back into it i will start with a full implementation of ti-basic and then maybe xlib/celticIII as well, after that is finished i would like to expand it with the ideas that i originally had in mind for this project, such as support for custom screen size, color, sound, etc.
Title: Re: BasiC++
Post by: ztrumpet on May 10, 2010, 09:18:22 pm
Alright!  I'm glad to hear that this isn't dead! ;D
Title: Re: BasiC++
Post by: DJ Omnimaga on May 11, 2010, 03:02:34 am
I hope this stay alive :)
Title: Re: BasiC++
Post by: Stephan on May 12, 2010, 10:32:04 am
Glad to hear it didn't get killed. Keep up the good work and keep us posted! :D
Title: Re: BasiC++
Post by: miotatsu on September 20, 2010, 07:01:19 pm
so guys It is taking a while for people to read over the piworld storyline and I dont want to continue development until that is done so I was thinking about working on BasiC++ in the meantime, what do you guys think?
Title: Re: BasiC++
Post by: DJ Omnimaga on September 20, 2010, 07:57:44 pm
Sorry to hear about Piworld x.x. It would be nice to see BasiC++ revived though :)
Title: Re: BasiC++
Post by: MRide on September 20, 2010, 10:17:09 pm
Yeah, I would like to see this completed.:D
Title: Re: BasiC++
Post by: miotatsu on September 20, 2010, 10:34:18 pm
okay, I will work on BasiC++ for now but once the storyline is back I will go back to working on piworld.
what features do you guys think I should start with implementing?
Title: Re: BasiC++
Post by: meishe91 on September 20, 2010, 10:41:35 pm
Ya, I think that is a good idea :)

What exactly were you planning on making this into now and such? That might help us think of things to implement and such.
Title: Re: BasiC++
Post by: miotatsu on September 20, 2010, 10:43:47 pm
I am starting with a implementation of ti-basic for pc, not the full language but enough of it to be useable and able to run games and other programs
Title: Re: BasiC++
Post by: skuller972 on September 21, 2010, 08:17:56 pm
Start out being able to use and alter all of the variables, then work with Disp and Output(), then start doing some If, Then, Else, For(), sort of things.
Title: Re: BasiC++
Post by: DJ Omnimaga on September 21, 2010, 11:16:38 pm
Getkey as well, plus maybe While/repeat
Title: Re: BasiC++
Post by: miotatsu on September 25, 2010, 09:25:14 pm
alright, I'm going to start with variables.
Title: Re: BasiC++
Post by: miotatsu on October 02, 2010, 02:44:55 am
expect eye candy in a few hours, currently working out a system to handle the order of operations.
Title: Re: BasiC++
Post by: meishe91 on October 02, 2010, 03:57:51 am
Sweet, I can't wait to see :)
Title: Re: BasiC++
Post by: DJ Omnimaga on October 02, 2010, 09:40:36 am
Cool :D

Can't wait for screenshots :)
Title: Re: BasiC++
Post by: miotatsu on October 02, 2010, 11:23:23 am
woops I fell asleep before I finished last night. I will continue working on it now :P
Title: Re: BasiC++
Post by: DJ Omnimaga on October 03, 2010, 03:40:36 am
Lol nice x.x
/me feeds Miotatsu some nethams

Good luck :D
Title: Re: BasiC++
Post by: Deep Toaster on October 03, 2010, 08:15:22 pm
Lol.

How's it going?
Title: Re: BasiC++
Post by: meishe91 on October 03, 2010, 08:46:45 pm
So where is this eye candy we're supposed to be expecting? ;)
Title: Re: BasiC++
Post by: miotatsu on October 06, 2010, 05:26:04 pm
sorry for the delays, I got sidetracked and have been working on a channel administration system for mionet. I will try to still have eyecandy for you guys soon though :3
Title: Re: BasiC++
Post by: DJ Omnimaga on October 06, 2010, 11:44:53 pm
Ah I see. I hope it wasn't anything too bad like spammers or something x.x
Title: Re: BasiC++
Post by: miotatsu on December 20, 2010, 05:28:23 pm
eye candy has arrived! I am not sure if I mentioned, but I started over from scratch. it no longer has a window for the time being, and I did not start with variables. Instead I have been working on a preprocessor. this will run through the code translating it into something easier to parse, this new code is stored in a temporary file. when the preprocessor is finished, the interpreter will take over and begin interpreting the code line by line. So far I have the preprocessor remove whitespace (except for newlines) and make all text be in caps. also it will leave a string intact and it is not required to have the closing " for it to read it as a string, just like in ti-basic.

and now the eye candy:
(http://i534.photobucket.com/albums/ee348/Miotatsu/Screenshot-20.png)
Title: Re: BasiC++
Post by: Munchor on December 20, 2010, 05:29:12 pm
This converts TI-Basic to C++?
Title: Re: BasiC++
Post by: Eeems on December 20, 2010, 05:31:12 pm
This converts TI-Basic to C++?
No it does not, please read the first post of a topic before asking questions.
Title: Re: BasiC++
Post by: miotatsu on December 20, 2010, 05:32:09 pm
ScoutDavid:
no, this will be an interpreted ti-basic-like language for PC, the C++ in BasiC++ is a reference to the language the interpreter is being coded in.
Title: Re: BasiC++
Post by: Munchor on December 20, 2010, 05:36:24 pm
ScoutDavid:
no, this will be an interpreted ti-basic-like language for PC, the C++ in BasiC++ is a reference to the language the interpreter is being coded in.

Oh I see, thanks!

Quote
eye candy has arrived! I am not sure if I mentioned, but I started over from scratch. it no longer has a window for the time being, and I did not start with variables. Instead I have been working on a preprocessor. this will run through the code translating it into something easier to parse, this new code is stored in a temporary file. when the preprocessor is finished, the interpreter will take over and begin interpreting the code line by line. So far I have the preprocessor remove whitespace (except for newlines) and make all text be in caps. also it will leave a string intact and it is not required to have the closing " for it to read it as a string, just like in ti-basic.

and now the eye candy:

This converts TI-Basic to C++?
No it does not, please read the first post of a topic before asking questions.

I had never heard of this, and the first topic didn't really explain what it was :S
Title: Re: BasiC++
Post by: miotatsu on December 20, 2010, 05:37:31 pm
"BasiC++ will be an interpreted programming language for the PC based directly off of Ti-Basic"
Title: Re: BasiC++
Post by: DJ Omnimaga on December 21, 2010, 01:31:53 am
This converts TI-Basic to C++?
No it does not, please read the first post of a topic before asking questions.
I would like to ask to not reply to another member that way again. It is against the forum rules. Some stuff could be missed easily by a non-english speaking member. I myself have troubles with large posts and often have to CTRL+F to find some info in them.

Anyway I'm happy to see this revived. Will it still have the same goal as the original Basic++ of being a TI-BASIC like language but for computer?
Title: Re: BasiC++
Post by: Eeems on December 21, 2010, 01:35:21 am
This converts TI-Basic to C++?
No it does not, please read the first post of a topic before asking questions.
I would like to ask to not reply to another member that way again. It is against the forum rules. Some stuff could be missed easily by a non-english speaking member. I myself have troubles with large posts and often have to CTRL+F to find some info in them.
Yeah sorry about that I didn't realize how rude it sounded.
Just to let everyone know he hadn't actually read the first post, but that was because he didn't realize that there was more then one page. I still was out of line for saying it like that, sorry, I should be more tactful, and maybe take my own advice and still answer the question.
Title: Re: BasiC++
Post by: Munchor on December 21, 2010, 06:02:10 am
Don't worry. As Eeems said, this was solved out quickly. Let's just forget it :)

(http://i534.photobucket.com/albums/ee348/Miotatsu/Screenshot-20.png)

Concerning this images, what is exactly happening? I don't get it :(
Title: Re: BasiC++
Post by: Binder News on December 21, 2010, 09:11:39 am
Finally! I have been waiting for something like this. I would love to help, if any help is needed. I presume it is in C++.
Title: Re: BasiC++
Post by: DJ Omnimaga on December 21, 2010, 03:48:42 pm
This seems to be a text-based Hello World style program. I wonder if we can still do things like this?

(http://i534.photobucket.com/albums/ee348/Miotatsu/Untitled-51.png)

I know Eeems was working on something like that before too, in Javascript. It was quite impressive, although it seemed quite slow on older computers :(
Title: Re: BasiC++
Post by: Munchor on December 21, 2010, 03:49:53 pm
(http://i534.photobucket.com/albums/ee348/Miotatsu/Untitled-51.png)

I wish I could do this so much!
Title: Re: BasiC++
Post by: DJ Omnimaga on December 21, 2010, 09:24:34 pm
Yeah it was kinda cool. I hope we can do a bit more, like using colors, larger resolution and maybe even change the monitor resolution so we can do full-screen games or something. It would be cool.
Title: Re: BasiC++
Post by: Munchor on December 22, 2010, 06:36:33 am
Yeah it was kinda cool. I hope we can do a bit more, like using colors, larger resolution and maybe even change the monitor resolution so we can do full-screen games or something. It would be cool.

I totally disagree actually. I don't want colours nor full-screen, nor larger resolution, I would like it to be just like in the calculator. That picture looks a blast!
Title: Re: BasiC++
Post by: DJ Omnimaga on December 22, 2010, 02:28:21 pm
Yeah it would be cool, but many people always dreamed of a computer programming language that was as easy as TI-BASIC. I couldn't find any. RPG Maker and Game Maker are easy, but you are too limited. It would be nice if BasiC++ let those programmers the chance to code color games too. Of course it would be nice to have a calculator mode too, though, especially if someone is porting a calc game to the computer.
Title: Re: BasiC++
Post by: Eeems on December 22, 2010, 02:36:19 pm
Yeah it was kinda cool. I hope we can do a bit more, like using colors, larger resolution and maybe even change the monitor resolution so we can do full-screen games or something. It would be cool.
I totally disagree actually. I don't want colours nor full-screen, nor larger resolution, I would like it to be just like in the calculator. That picture looks a blast!
well if it had the option of both it would be nice, personally I wouldn't want to limit it's potential with just being like a calculator.
Title: Re: BasiC++
Post by: Munchor on December 22, 2010, 03:56:45 pm
I would really want a PC Calculator with the programming language Axe. If I want it so much I should do it myself :P
Title: Re: BasiC++
Post by: miotatsu on December 24, 2010, 04:05:23 pm
DJ: yeah it still has the same goals as before.

About the pic: I DO NOT have any commands implemented as of now. I am working on the internal stuff and the picture demonstrates what it is currently doing to make it easier to interpret the source code of the programs we will soon be able to write.

about updates: I will continue to work on this and YES you will be able to do FANCY GRAPHICS but not for a while yet because graphic commands will not be added until math stuff is done. HOWEVER there will be a small break in updates because I am going to be switching from Ubuntu linux to Arch linux and also christmas stuff will take up some of my time.

I will post another screenie when the interpreter is able to handle the command Disp ".
Title: Re: BasiC++
Post by: Munchor on December 24, 2010, 04:12:32 pm
DJ: yeah it still has the same goals as before.

About the pic: I DO NOT have any commands implemented as of now. I am working on the internal stuff and the picture demonstrates what it is currently doing to make it easier to interpret the source code of the programs we will soon be able to write.

about updates: I will continue to work on this and YES you will be able to do FANCY GRAPHICS but not for a while yet because graphic commands will not be added until math stuff is done. HOWEVER there will be a small break in updates because I am going to be switching from Ubuntu linux to Arch linux and also christmas stuff will take up some of my time.

I will post another screenie when the interpreter is able to handle the command Disp ".

Nice, Disp " is a start ;)
Title: Re: BasiC++
Post by: miotatsu on December 26, 2010, 03:38:51 pm
alright, now that christmas is past I will be working on this again, however...
I think its time that this project is renamed, because the name implies that it is a combination of basic and c++ which of course is not true at all.
BUT I can't come up with a good name, you guys should help! preferably something with BASIC/Basic in the name, something short, and something that implies that it is like ti-basic except loaded with more awesomes and for pc. I might hold a poll for voting if you guys can come up with multiple good ones :P
Title: Re: BasiC++
Post by: Munchor on December 26, 2010, 03:43:25 pm
alright, now that christmas is past I will be working on this again, however...
I think its time that this project is renamed, because the name implies that it is a combination of basic and c++ which of course is not true at all.
BUT I can't come up with a good name, you guys should help! preferably something with BASIC/Basic in the name, something short, and something that implies that it is like ti-basic except loaded with more awesomes and for pc. I might hold a poll for voting if you guys can come up with multiple good ones :P

Tea Eye Basicomp
Title: Re: BasiC++
Post by: DJ Omnimaga on December 26, 2010, 03:46:10 pm
Hmm I don't have any ideas right now. Scout idea seems nice, since the Tea Eye part is how we say TI. :P

I hope you continue working on this too. Also will it support mostly floating points or will it just support bytes, words, nibbles, etc?
Title: Re: BasiC++
Post by: Eeems on December 26, 2010, 03:49:49 pm
lol Scout :P
Hmm how about..umm...Advanced Texas Instruments BASIC or ATI-BASIC or ATIB
Title: Re: BasiC++
Post by: miotatsu on December 26, 2010, 03:50:36 pm
@DJ: I am still unsure about how I will handle numbers at this point, but hopefully it will support floating point, yes.
Title: Re: BasiC++
Post by: Munchor on December 26, 2010, 03:52:12 pm
Well, look at other programming language's names:

C
D
Haskell
Python
C
C++
C#
Visual Basic (exception!)

Well, they mean nothing!

So, I recommend having Ephan. It's just a random name :)
Title: Re: BasiC++
Post by: FinaleTI on December 26, 2010, 03:54:32 pm
Maybe B-- ?

You know, B for BASIC, and a negative times a negative is a positive, so...
Title: Re: BasiC++
Post by: miotatsu on December 26, 2010, 04:02:08 pm
Tea Eye Basicomp
(http://www.mionet2.com/teaeye.png)
:P
Title: Re: BasiC++
Post by: Munchor on December 26, 2010, 04:25:01 pm
Tea Eye Basicomp
(http://www.mionet2.com/teaeye.png)
:P

/me rolls on floor laughing so hard!
Title: Re: BasiC++
Post by: DJ Omnimaga on December 27, 2010, 03:06:40 am
I like how it's a bit close to Java. :P
Title: Re: BasiC++
Post by: Munchor on December 27, 2010, 05:49:21 am
I like how it's a bit close to Java. :P

Yeah it is, the tea cup!
Title: Re: BasiC++
Post by: miotatsu on December 28, 2010, 03:55:51 pm
anyway I will start a poll for the name later today, if anyone else has a name to contribute be sure to do it now or it might not make the poll in-time!




and no tea eye basicomp won't be on the poll, sorry scout :P
Title: Re: BasiC++
Post by: Binder News on December 28, 2010, 04:34:57 pm
I assume this is name ideas
Esunder. (like asunder but with an E at the beginning)
Easy Understand
Easy = Basic
Understand = Interpreted
Esunder = cool-sounding-name
Title: Re: BasiC++
Post by: miotatsu on December 28, 2010, 05:31:44 pm
Maybe B-- ?

You know, B for BASIC, and a negative times a negative is a positive, so...

the problem with this name that I see is its similarity to B and C--
this may cause just as much confusion as the current name imo

Well, look at other programming language's names:
C
D
Haskell
Python
C++
C#
Well, they mean nothing!

So, I recommend having Ephan. It's just a random name :)

C# name was chossen as follows (according to wikipedia): The name "C sharp" was inspired by musical notation where a sharp indicates that the written note should be made a semitone higher in pitch.[8] This is similar to the language name of C++, where "++" indicates that a variable should be incremented by 1.

C# is a decendant of C++ and the name both indicates so musically and visually (a sharp looks like a two stacked ++s)

C++ also has reasoning to its name.
Etymology

According to Stroustrup: "the name signifies the evolutionary nature of the changes from C".[9] During C++'s development period, the language had been referred to as "new C", then "C with Classes". The final name is credited to Rick Mascitti (mid-1983) and was first used in December 1983. When Mascitti was questioned informally in 1992 about the naming, he indicated that it was given in a tongue-in-cheek spirit. It stems from C's "++" operator (which increments the value of a variable) and a common naming convention of using "+" to indicate an enhanced computer program. There is no language called "C plus". ABCL/c+ was the name of an earlier, unrelated programming language.

D follows the same naming convention of C in the sense that C was a descendant of the B programming language

but that leads one to wonder where the name B came from?
well it turns out B was a descendant of BCPL which was a descendant of CPL
BCPL stands for Basic Combined Programming Language
and I would guess that the name B was taken from the B in BCPL as B was very closely related to it.

so believe it or not, most of those do have reasoning behind the names :P

I have no idea about Haskell and Python though, I am sure there are reasons though (probably on wikipedia but I dont feel like checking atm)

edit: Haskell is named after logician Haskell Curry
Title: Re: BasiC++
Post by: DJ Omnimaga on December 30, 2010, 12:39:14 am
Yeah choosing names can be hard. I myself don't have any idea right now. X.x

Title: Re: ATI-BASIC
Post by: miotatsu on January 07, 2011, 08:00:10 pm
BasiC++ has officially been renamed to ATI-BASIC :)
Title: Re: ATI-BASIC
Post by: Eeems on January 07, 2011, 08:07:36 pm
YES!!!! MY NAME WON!!!! :D
Title: Re: ATI-BASIC
Post by: DJ Omnimaga on January 09, 2011, 06:34:56 pm
Cool :D
Title: Re: ATI-BASIC
Post by: Munchor on January 14, 2011, 07:23:39 pm
http://davidgom.co.cc/random.php (http://davidgom.co.cc/random.php)

We should've used that XD