Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

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

#1486on PLDB 15Years Old

Boron is a scripting language similar to REBOL. The interpreter is a C library which may be copied under the terms of the LGPLv3.

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 ยท Resources ยท Acknowledgements ยท Part of the World Wide Scroll