This programming language may be used to instruct a computer to perform a task.
|Execution method:||Compiled (bytecode)|
If you know Brat, please write code for some of the tasks not implemented in Brat.
In Brat, everything is either an object or a function, and all functions are closures. Objects are essentially just collections of functions which can have inheritance relationships with other objects. The object system in Brat uses a prototyping approach, so new objects are always created as children of some existing object. Functions in Brat are first-class values which can be passed around like any other value.
Brat is also a very eager language. The only way to delay code evaluation is to enclose it in a function. Any use of a variable containing a function is assumed to be calling the function.
This category has the following 3 subcategories, out of 3 total.
Pages in category "Brat"
The following 65 pages are in this category, out of 65 total.