Questions Concepts
GitHub icon

Golo

Golo - Programming language

< >

Golo is an open source programming language created in 2012 by Webmaster.

Source code:
git clone https://github.com/eclipse-archived/golo-lang
#401on PLDB 11Years Old 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 Token Example
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 X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout