brat-lang.org
Brat Setup and Installation - Brat Programming Language
http://brat-lang.org/setup.html
Please have on hand:. Linux or OS X. The usual development tools (like. So you may get the next requirement. Git if you want to check it out of the repository directly -. Or the equivalent for your platform). Please follow the following steps, in the order in which they are ordered. Otherwise, results are not guaranteed. Clone the latest Brat version:. Git clone git:/ github.com/presidentbeef/brat.git. Change to new directory:. Sudo sh ./install.sh. This will install in. Decompress the archive (.
brat-lang.org
Implementing a Threading Operator in Brat - Brat Programming Language
http://brat-lang.org/2014/01/23/thread-operator-example.html
Implementing a Threading Operator in Brat. Hey, did you know January 13th was Brat’s fourth birthday? When I see a post about some cool feature in another language, I like to see what it would be like in Brat. A while back I read this post about Clojure’s threading macro. Actually, about implementing Clojure’s threading macro in Racket. Now, Brat doesn’t have macros so I guess that’s that, right? Let’s take a look at it anyway. Print it(bytes append(bytes(reverse(input) , 33. Kind of a mess, right? Okay,...
brat-lang.org
Documentation for Brat - Brat Programming Language
http://brat-lang.org/documentation.html
brat-lang.org
Brat Quick Start - Brat Programming Language
http://brat-lang.org/quickstart.html
Just want to jump in? Well, plug your nose and in you go! All of these examples are complete and valid Brat programs. Adds newline, too. Creating a new object. Hello again, world". Functions return their last value. Parameters go in a list before a. You may also have functions with default arguments, variable arguments, or a mix of those and required arguments. Using an asterisk. On the final formal parameter will gather up remaining arguments into an array. One two or more. One two or more. Arrays are z...
fll.presidentbeef.com
Fledgling Languages List - New and upcoming programming languages
http://fll.presidentbeef.com/lang/brat
Little language for people who don't like to be told what to do. Brat is a little toy language that. Brat code is compiled to Lua. And runs on LuaJIT. Brat is flexible enough that you can get by with a very small core and write any functionality that most languages use keywords for. Typeless, and pretty much classless. Everything is object, except functions. And functions are closures, which can be attached to objects to make methods. Objects use a prototyping system and are completely open.
brat-lang.org
Development Blog - Brat Programming Language
http://brat-lang.org/blog.html
Inlining Branches and Sharing Metatables. In this post, we continue the quest to make Brat faster (which essentially equates to making LuaJIT happier). We removed inner function creation by lifting functions out into the global scope and faking closures when needed. One place where a lot of functions show up is in conditionals. Are all just functions that take a condition and two branches. In the Tak benchmark. You can see the branches are wrapped in functions:. X, y, z true? Tak tak(x - 1. Which is poss...
brat-lang.org
Development Blog - Brat Programming Language
http://brat-lang.org/blog
Inlining Branches and Sharing Metatables. In this post, we continue the quest to make Brat faster (which essentially equates to making LuaJIT happier). We removed inner function creation by lifting functions out into the global scope and faking closures when needed. One place where a lot of functions show up is in conditionals. Are all just functions that take a condition and two branches. In the Tak benchmark. You can see the branches are wrapped in functions:. X, y, z true? Tak tak(x - 1. Which is poss...