Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
vim
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status Build status

Truck is a dynamic programming language with a focus on simplicity.

Example

use io

class Greeter {
  constructor(name) {
    this.name = name
  }

  salute() {
    io.println("Hello " + this.name)
  }
}

g = Greeter("world")
g.salute()

Getting started

git clone http://github.com/tarptaeya/truck
cd truck
python3 -m truck #[filename] or leave empty to run repl

Syntax highlighting

Syntax highlighting for vim is supported and associated files can be found in the vim directory of the project. Either copy the files yourself or execute install_vim.sh to automatically copy the vim files for you.