[ Prev | Index | Next ]
Japanese English

Let's Get Started with VCSSL! - Setting Up the Environment

Here, we'll prepare the environment to use VCSSL and start writing some programs!

Sponsored Link


Preparing the Environment

Setting Up the VCSSL Runtime Environment

First, let's set up the necessary environment.

The most crucial component is the "VCSSL Runtime," required to execute VCSSL programs. This software is available for free and can be downloaded from the following page:

On the aforementioned page, you will find detailed instructions tailored to your operating system. Follow these instructions to ensure that VCSSL programs can be executed on your PC.

Choosing the Right Text Editor for Programming

Next, you'll need software for writing programs. VCSSL programs are plain text files, so any text editor can be used for this purpose.

While some operating systems come with built-in text editors (such as Notepad on Windows), these basic editors may not offer features that facilitate coding. Therefore, you might want to consider one of the many free text editors that are enhanced for programming tasks. Here are a few recommendations:

Visual Studio Code
Visual Studio Code is a popular choice among programmers and is compatible with various operating systems. It is user-friendly and maintains a standard interface, although it does not offer any specific plugins designed to assist with VCSSL programming.
Sakura Editor
For Windows users, Sakura Editor is a robust option. With its default configuration set for C/C++, it can colorize VCSSL code to enhance readability. Moreover, if the VCSSL Runtime is installed on your PC, you can directly execute VCSSL programs from Sakura Editor by pressing the Ctrl+B keys.

In addition to the above, there are other popular editors like Emacs and Vim. Each editor has its strengths, so we recommend trying a few to find the one that suits your needs best.

(Optional) Configuring Your PC to Display File Extensions

Lastly, let's consider adjusting your computer's settings as needed.

On many PCs, file extensions are not displayed by default. This setting is often intended to prevent accidental changes to file extensions. However, in scenarios where understanding the type of files is crucial, such as in programming, not being able to see or modify the file extension can be a hindrance.

Therefore, it is advisable to adjust your settings to display file extensions. For example, on Windows, you can find instructions by searching for "how to display file extensions in Windows."

Let's Write Some Code!

Writing Code in the Editor

Now that your environment is ready, it's time to start writing some VCSSL code!

Let's begin with a simple program that displays the message "Hello, World!". This is known as the "Hello, World!" program, which serves as the traditional introduction to programming in many languages. Here's how you can do it in VCSSL:

First, open your text editor and type the following code:

print("Hello, World!");

In VCSSL, this line of code displays "Hello, World!" on the console.

Saving the File with the ".vcssl" Extension

Next, save this program in a convenient working folder with the filename "HelloWorld.vcssl". Be mindful of the ".vcssl" extension, which might not be visible depending on your PC's settings.

Note: To save with this extension on Windows, you need to do a little trick. Specifically, when saving, choose the option "All files" in the "Save as type" field. If you don't do this, the system might automatically add an extension based on the file type. Then, in the "File name" field, enter a filename with the extension already attached, like "HelloWorld.vcssl".

Let's Run the Program!

Executing the Program

Once you've successfully saved the VCSSL program as described above, now let's run it. The method varies depending on your operating system and whether VCSSL is installed. Detailed instructions can be found on the following page:

Follow the appropriate instructions to run the 'HelloWorld.vcssl' program you created earlier. When executed, a black screen will appear, displaying the following message in white text:

Hello, World!

Congratulations! You've successfully executed the Hello, World! program.

Edit and Re-execute the Program

The screen where the message appeared is called the "VCSSL console" or simply "console" for short.

When you close the console, the execution of the VCSSL program ends. Additionally, pressing the "Reset" button on the console's menu bar (or the F11 key) reloads the currently running program and executes it again from the beginning.

When you're writing a new program, you'll often edit and execute it multiple times. In such cases, it's convenient to keep the console open and work alongside the editor. This allows you to smoothly edit in the editor, press "Reset" in the console to execute, and repeat the process seamlessly.

Acknowledgement: We greatly appreciate the cooperation of two ChatGPT AIs in translating this page.
» How we translated this page


Sponsored Link



Japanese English
Index
News From RINEARN
* VCSSL is developed by RINEARN.

The VCSSL Support AI is Here! — Requires a ChatGPT Plus Account for Practical Performance
2025-08-19 - A new AI assistant for the VCSSL programming language is here to answer your questions and help with coding. This article explains how to use it and showcases plenty of real Q&A and generated code examples.

English Documentation for Our Software and VCSSL Is Now Nearly Complete
2025-06-30 - We're happy to announce that the large-scale expansion of our English documentation with the support of AI — a project that began two years ago — has now reached its initial target milestone.

VCSSL 3.4.52 Released: Enhanced Integration with External Programs and More
2025-05-25 - This update introduces enhancements to the external program integration features (e.g., for running C-language executables). Several other improvements and fixes are also included. Details inside.

Released: Latest Version of VCSSL with Fixes for Behavioral Changes on Java 24
2025-04-22 - VCSSL 3.4.50 released with a fix for a subtle behavioral change in absolute path resolution on network drives, introduced in Java 24. Details inside.

Released the Latest Versions of RINEARN Graph and VCSSL - Now Supporting Customizable Tick Positions and Labels!
2024-11-24 - Starting with this update, a new "MANUAL" tick mode is now supported, allowing users to freely specify the positions and labels of ticks on the graph. We'll explain the details and how to use it.

Released Exevalator 2.2: Now Compatible with TypeScript and Usable in Web Browsers
2024-10-22 - The open-source expression evaluation library, Exevalator, has been updated to version 2.2. It now supports TypeScript and can be used for evaluating expressions directly in web browsers. Explains the details.

Behind the Scenes of Building Assistant AIs (Part 2: Implementation)
2024-10-12 - This article walks you through the actual steps of building an Assistant AI using ChatGPT's &quor;GPTs&quor; feature. It also covers how to embed your own knowledge and practical tips for improving accuracy.

Behind the Scenes of Creating an Assistant AI (Part 1: Fundamental Knowledge)
2024-10-07 - The first part of a series on how to create an Assistant AI. In this article, we introduce the essential knowledge you need to grasp before building an Assistant AI. What exactly is an LLM-based AI? What is RAG? And more.