VNC is a scripting/programming language created for Vietnamese with syntax which specifies Vietnamese. This language was built based on the source code of another language which I also made called "FreakC"
In the "VNC" folder, open cmd and type this command to compile and run the code:
vnc file_name
Example:
vnc Examples/HelloWorld.vnc
If you want to compile the code only, type:
vnc file_name --dich
If you want to compile the code and show the compiled code, type:
vnc file_name --dichvadoc
To show the current version of the devkit, type:
vnc --phienban
To create a new VNC project quickly, you can type:
vnc project_name --tao
To open interactive shell, type:
vshell
You can type in whatever you want, it will be stored in "tar.vnc". You can type in any of these commands to execute tasks:
BatDau[c]
- Runs all the codes writtenNgung[c]
- Delete tar.vnc and exitXoa[c]
- Resets codesAn[c]
- Clear console
The compiler only works on Windows, and can only be compiled to Batch.
In "vnc/utils/scripts" there is a file called battoexe.bat which helps to convert .bat files to .exe files.
So to convert VNC to .EXE files, you need to compile VNC codes to Batch first, and then convert the Batch file generated by simply dragging that Batch file onto battoexe.bat.
You can actually find plenty of other tools online that helps you to converts Batch files to EXE files.
For syntax highlighting, copy the "VNC" folder in the same folder, then paste it in "%APPDATA%\Sublime Text v\Packages".
Sublime Text is highly supported for VNC, so you definitely should use Sublime Text if you want to start VNC development.
There are many frameworks in the utils folder that you can use, I will definitely update the usage of them soon.
Note: I don't own those frameworks.
If you like the project, consider leaving a star on VNC and my main project - FreakC
Copyright © 2020 Nguyen Phu Minh
This language is licensed under the MIT License