Hi, new here.
Posted: 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.
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.