Hi, new here.

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
VXP
Newbie
Posts: 6
Joined: Wed Feb 29, 2012 3:13 pm

Hi, new here.

Post by VXP » Wed Feb 29, 2012 3:15 pm

Hello, and if you read the title you know that I'm new to the forums here and I hope to have a long and prosperous stay.

OK, now that that's done, on to the main reason why I'm here.

I'm developing my own programming language in QBasic, so it requires it's own interpreter. The code is compiled (in it's own native format), and cannot be used or converted to any other form of machine code.

Compilation Structure:
> Strings, when compiled into the 'executable' file are both written in plain, readable-text format, but are also compiled and stored in their own little reserved spot in the data structures, but it is also scattered throughout the code. So even if you figured out the way it's encrypting the strings, you won't be able to make sense of the words because then again, the string checksum is embedded along side of the file which is also required to decode the string using an XOR method. So modification of a compiled file is illegal in the code structures, and once you try to run modified compiled code, the data becomes invalid and you will have to recompile your project. This is to prevent hackers.

Mathematical Functions:
> I'm still not sure how I plan to go about doing this part of the language, but I will figure it out. Once figured out, it will use the same method of compilation as strings.

Dataset Code / "OP" Code
> Basic compare and contrast amongst strings and string lengths is used here.

Jump Code / Current Code
> DIM values are used to separate and store the "jump" code (as I call it), from the current code (code that is currently being operated on).

If you guys can post ideas and or tips on how to go about the mathematics handler in the program, please leave suggestions on what you would do or go about doing. If I use your method I will leave your name in the "Contributors" section.

Also, I need a name for this language. Help please.

P.S. This is being coded in QBasic PDS 7.1 so all suggested code needs to be QB45 or higher.

User avatar
burger2227
Veteran
Posts: 2368
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Wed Feb 29, 2012 4:52 pm

We already have QB64 and it runs on 64 bit machines because it converts BASIC language to C++ code and creates a NON-DOS EXE program.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

VXP
Newbie
Posts: 6
Joined: Wed Feb 29, 2012 3:13 pm

Post by VXP » Wed Feb 29, 2012 10:18 pm

You obviously did not read my thread.

I am not in need of a 64 bit version of QB. I am making a programming language WITH QB7.1. You can make your own programs in the language. As I said in my last post, I'm having trouble making a name for it.

EDIT: Also, please post any suggestions to help the language grow to it's full potential.

User avatar
burger2227
Veteran
Posts: 2368
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Thu Mar 01, 2012 2:04 am

Then you obviously didn't read mine! Anything made with PDS will probably have problems on 64 bit machines.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

VXP
Newbie
Posts: 6
Joined: Wed Feb 29, 2012 3:13 pm

Post by VXP » Thu Mar 01, 2012 2:16 am

I never planned to develop for 64 bit machines and once the world turns over to them I'll just stop developing. I hate x64 based computers.

User avatar
burger2227
Veteran
Posts: 2368
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Thu Mar 01, 2012 3:10 am

The world never stopped turning so why would you?
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

VXP
Newbie
Posts: 6
Joined: Wed Feb 29, 2012 3:13 pm

Post by VXP » Thu Mar 01, 2012 3:32 am

Because I want to and also get back on track please so other people aren't discouraged about the application I'm developing.

Post Reply