Measures Concepts
GitHub icon

Boron

Boron - Programming language

< >

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

#1295on 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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout