command module
Version: v0.0.0-...-dbeee19 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 7 Imported by: 0


Rum Language - LISP dialect

Github Actions Go Report Card Documentation license

Functional language, easily extensible and possible (Lua features with LISP dialect and functional) to be embarked on software Go!


Idealized in GopherCon Brasil 2017 (reason of the language being written in Go), had the purpose of being virtual machine of CLISP (development for fun and the founder team enjoys functional programming), after seeing that there was already some parser of CLISP written in Go we had a initiative to make a language with syntax like CLISP but with some own paradigms (such as asynchronous processing using goroutine underneath, thus joining what we have best in the Go).

Why Rum?

As the language was born in Canasvieiras (Florianópolis - Brazil) neighborhood in the seaside frequented by tourists having the pirate boat as a tourist attraction, we decided to give the name of the typical beverage of pirates for the language.

Why another lisp?


go install




go run rum.go


(package "main"
    (str "strings")

  ; Canonical example
  (println "Hello, World!")

  ; Create a function, run it and print the result.
  (let area
    (lambda (r) (* 3.141592653 (* r r))))
  (println (area 10.0))

  (def area(r)
    (* 3.141592653 (* r r)))
  (println (area 100.0))

  ;; use strings package with alias str
  (println (str.contains "rumlang" "rum"))
  ;; use csv package by example
  (println "csv read all:" (. ( ( "1,2,3,4")) read-all))
Using rum as a Go package
package main

import (


func main() {
  const input = `
(package main
  (print 'Hello)
  s := bufio.NewScanner(strings.NewReader(input))
  vm := rum.New()
  err := vm.Run(s)
  if err != nil {


The Go Gopher

There is no documentation for this package.

Source Files


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL