Showcase!
July 21, 2024
Entry: 4.0
Today, I wanted to showcase the possibilities of VREC. I have made some changes in the past few days, but I will not be updating the documentation or the active version due to bugs. You can expect an update later today or tomorrow. Okay, let's start with the basics of any programming language; variables. A VREC variable usually looks like this:
private_std a = 15;
There are more ways to create a variable in VREC, but this is the best and most stable way. The first thing we do is declare "private". All this means is it doesn't show in the output. Then we declare "std" (standard), which, means the same thing as "var" in HTML; any variable type. This can be a double float; boolean, int, string anything (that's right C++ community, it's possible).
Now we move on to the next part in our code; if's. VREC has a special feature called constant if, which simply is constantly checking it's expression. This is useful mostly for checking keydowns (coming soon) adn input values. We will not be using constant if today because it has no use for our program that we are writing. Here is what our code so far is with an if statement:
private_std a = 15;
if (a == 15)
{
"output" => output.p = "wassup";
a = 16;
}
if (a == 16)
{
"output2" => output.p = a;
}
The if statement is self explanatory, but what is this "output.p"? This is the backbone of VREC, this is what makes it revolutionary and powerful. This is similar to a tag in HTML. It can be updated, styled, used in ifs, and so much more.
The output:
wassup
16
Today, I have proved the capabilities of VREC. By pushing the limits of hardware and software, I have successfully created a base of new language in less than a month. But I'm not stopping there. I am hoping that by the end of the Summer, it will be finished with advanced styling, logic, and input. Thank you all!
Get VREC
VREC
A new interpreter more powerful than XML, C#, and even Java!
Status | Released |
Category | Tool |
Authors | SNIPER, Snow140 |
Tags | Game engine |
More posts
- Combined! Everything works!67 days ago
- Attempt to Combine96 days ago
- Better errors!Sep 04, 2024
- Minor ChangesAug 13, 2024
- Help wanted.Aug 10, 2024
- Lines SyncedAug 03, 2024
- Line CountAug 02, 2024
- Bugs, bugs, and more bugs.Jul 25, 2024
- Anyone want to help with a project?Jul 22, 2024
Comments
Log in with itch.io to leave a comment.
Almost there!