2025-12-20 07:37:15 +11:00
2025-12-20 07:37:15 +11:00
2025-12-20 07:37:15 +11:00
2025-12-13 18:07:26 +11:00
2025-12-14 21:15:30 +11:00

High Ground

High Ground is a programming language based on Ground.

It is the reference language designed to teach you how to build your own Ground-based language.

Compiling

First, ensure CGround is installed on your system with sudo make install. Then, compile with

g++ src/main.cpp -o hg -lgroundvm

Usage

High Ground files use the .hg extension. Run files as you would with any other interpreted language.

Using High Ground

Types

  • int: Ground int (64 bit integer) eg 3, 7, 31432
  • double: Ground double (Double precision floating point) eg 3.141, 2.7
  • string: Ground string (char*) eg "Hello, World"
  • char: Ground char (char) eg 'a'
  • bool: Ground bool (either true or false)

Printing

Prefix an expression with puts to print it to the console.

puts "Hello, world!"
puts 3.141
puts 7
puts 'a'
puts true

Math

Add numbers with + (more operations coming soon)

puts 1 + 1
puts 3.14 + 2.7
puts 532 + 314 + 89432
Description
The Solstice programming language. Fast, simple, and NOT reliable.
https://sols.dev
Readme 437 KiB
Languages
C++ 97.9%
Vim Script 1.1%
Makefile 0.6%
HTML 0.4%