Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Unicon

< >

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

#938on PLDB 16Years Old
Homepage · Wikipedia

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 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

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0