Complete guide to Ving programming language
# Arch Linux / Manjaro
sudo pacman -S gcc
# Ubuntu / Debian
sudo apt install gcc
# macOS
brew install gcc
make
vingc is createdDownload ready-to-use executable for your system:
vingc and make it executable: chmod +x vingcvingc.exe and run from command lineexample.ving file:
style:black
title: My First Website
text(bold,big): Hello, World!
button(st1,link:https://example.com):Click Me
./vingc example.ving output.html
output.html in browser!Sets the page color scheme:
style:black or style:dark - dark themestyle:light or style:white - light themeSets the title displayed in browser tab:
title: My Website
Creates a button with various parameters:
button() # Simple button
button(st1) # Button with style
button(link:https://example.com):Click # Button with link
button(st1,link:https://example.com):Click # Style and link
Creates a text block with formatting:
text(): Plain text
text(bold): Bold text
text(italic): Italic text
text(bold,italic): Bold and italic
text(big): Large text
Inserts an image on the page:
img(): photo.png # Regular image
img(big): photo.png # Large image
Inserts video on the page:
video(controls):video.mp4
video(autoplay,loop,muted):video.mp4
video(controls,width:800,height:450):video.mp4
Parameters: controls, autoplay, loop, muted, width:value, height:value
Inserts audio player:
audio(controls):audio.mp3
audio(controls,autoplay):audio.mp3
audio(controls,loop):audio.mp3
Parameters: controls, autoplay, loop, muted
Embeds external page or video:
iframe(src:https://example.com)
iframe(allowfullscreen,width:560,height:315):https://youtube.com/embed/...
Parameters: allowfullscreen, width:value, height:value
style:black
title: My Website
text(bold,big): Welcome!
text(): This is my first Ving website
button(st1,link:https://example.com):Go
style:black
title: Media Site
text(bold): Video
video(controls):video.mp4
text(bold): Audio
audio(controls):audio.mp3
text(bold): YouTube
iframe(allowfullscreen,width:560,height:315):https://youtube.com/embed/...
./vingc input.ving output.html
input.ving - input file with Ving codeoutput.html - output HTML file (optional, defaults to output.html)