Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

Boron

< >

Boron is an open source programming language created in 2009 by Karl Robillard.

#1389on PLDB 15Years Old


Language features

Feature Supported Token Example
Threads โœ“
Strings โœ“ " { } {{ }}
"Hello world"
{He said "That looks good!"}
Multiline Strings โœ“
{{
  Line 1
  Line 2
}}
MultiLine Comments โœ“ /* */
/* A comment
*/
Print() Debugging โœ“ print probe
Lists โœ“
my-list: [1 two 3.0 "four"]
Line Comments โœ“ ;
; A comment
Homoiconicity โœ“
Garbage Collection โœ“
Exceptions โœ“
catch [throw 22 print "You'll never see this."]

if error? try [read %does_not_exist] [print "File not found"]
Comments โœ“
Disk Output โœ“
write %helloworld.txt "Hello, world!^/"
Shebang โœ“
#!/usr/bin/env boron

View source

- Build the next great programming language ยท About ยท Acknowledgements ยท Extensions ยท Day 625 ยท feedback@pldb.io