Measures Concepts
GitHub icon

Unicon

Unicon - Programming language

< >

Unicon is an open source programming language created in 2008 by Clint Jeffery.

#484on PLDB 16Years Old

Unicon is a programming language designed by American computer scientist Clint Jeffery with collaborators including Shamim Mohamed, Jafar Al Gharaibeh, Robert Parlett and others. Unicon descended from Icon and a preprocessor for Icon called IDOL. Compared with Icon, Unicon offers better access to the operating system as well as support for object-oriented programming. Read more on Wikipedia...


Example from the web:
procedure main() w := open("test UNICON window", "g") write(w, "Hello, World!") read(w) close(w) end
Example from hello-world:
procedure main() write("Hello World") end
Example from Wikipedia:
procedure main() w := open("test UNICON window", "g") write(w, "Hello, World!") read(w) close(w) end

Language features

Feature Supported Token Example
Integers ✓
# \b([+-]?[0-9]+[KMGTPkmgtp]?)\b
Floats ✓
# [+-]?[0-9]*\.([0-9]*)([Ee][+-]?[0-9]*)?
Hexadecimals ✓
# \b([+-]?([2-9]|[12][0-9]|3[0-6])[rR][0-9a-zA-Z]+)\b
Strings ✓ "
"Hello world"
Print() Debugging ✓ write
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 · Day 605 · feedback@pldb.io · Logout