PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Golo

Golo

< >

Golo is a programming language created in 2012 by Webmaster.

#401on PLDB 10Years Old 1.0kUsers
0Books 0Papers 46Repos

Golo is computer software, a programming language for the Java virtual machine (JVM). It is simple, with dynamic, weak typing. It was created in 2012 as part of the research activities of the DynaMid group of the Centre of Innovation in Telecommunications and Integration of service (CITI) Laboratory at Institut national des sciences appliquées de Lyon (INSA). Read more on Wikipedia...


Example from hello-world:
module hello.world function main = |args| { println("Hello World") }
Example from Linguist:
# Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. module hello.World function main = |args| { println("Hello world!") }

Language features

Feature Supported Example Token
Integers
# -?\d[\d_]*
Floats
# -?[\d_]*\.[\d_]*([eE][+-]?\d[\d_]*)?F?
Hexadecimals
# 0[xX][a-fA-F0-9]+
Octals
# 0[0-7]+j?
Strings
"Hello world"
"
Print() Debugging println
Comments
# A comment
Line Comments
# A comment
#
Semantic Indentation ϴ
squeak.html · golo.html · jcl.html

View source

PLDB - Build the next great programming language · v2022 · Day 90 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com