Unicon is an open source programming language created in 2008 by Clint Jeffery.
#934on 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...
procedure main()
w := open("test UNICON window", "g")
write(w, "Hello, World!")
read(w)
close(w)
end
procedure main()
write("Hello World")
end
procedure main()
w := open("test UNICON window", "g")
write(w, "Hello, World!")
read(w)
close(w)
end
Feature | Supported | Example | Token |
---|---|---|---|
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 |