hilvl is a programming language created in 2015 by Holger Ludvigsen.
#1771on PLDB | 9Years Old |
git clone https://github.com/holgerl/hilvl
Hilvl is a programming language that is versatile but with a very small syntax. All code in hilvl are single-argument invocations of actions that belong to services. Services are the fundamental building blocks of a hilvl program. And the name hilvl reflects how this is a higher level of abstraction than objects and functions.
@ var foo = 42
@ var bar = (2 + 40)
@ . foo == (@ . bar) then
@ set foo = 0
@ var myList =
1
2
3
@ . myList loop
@ set foo = (@ . foo + (@ . element))
@ var myMap =
Map of
"firstname" , "Ola"
"lastname" , "Nordmann"
@ var MyService :=
@ var myAction :
@ . argument + 10
MyService myAction (@ . foo) // foo is now 6, and this returns 16
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | // A comment | |
Line Comments | ✓ | // A comment | // |
Semantic Indentation | X |