frost is an actively used programming language created in 2017.

3Years Old 33Users ?Jobs

Example code from the web:

Simple version of the Unix `head` utility. Reads a file
and outputs the first `count` lines from it to the
standard output stream.

@param path the file to read
@param count the number of lines to display
method head(path:File, count:Int) {
    try {
    fail(error) {

method abort(msg:String) {

method main(args:ListView<String>) {
    if args.count != 3 {
        abort("usage: head <path> <count>")
    def count := args[2].asInt
    if count == null {
        abort("error: '\{args[2]}' is not an integer")
    head(File(args[1]), count)

Last updated June 22nd, 2020

Edit frost on GitHub