Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Boron

Boron - Programming language

< >

Boron is a programming language created in 2009 by Karl Robillard.

#1259on PLDB 14Years Old 0Books
0Papers

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
jsonnet.html · boron.html · co-dfns.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com