GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SteelSeries/golisp: A Scheme-flavored Lisp implemented in Go.

BranchesTags
Open more actions menu

Latest commit

 

History

668 Commits
668 Commits

Folders and files

NameName
Last commit message
Last commit date
lisp
lisp
 
 
main
main
 
 
samples
samples
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
Godeps
Godeps
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
binding.go
binding.go
 
 
builtins_test.go
builtins_test.go
 
 
bytearray_builtins_test.go
bytearray_builtins_test.go
 
 
conscell_test.go
conscell_test.go
 
 
data.go
data.go
 
 
eval_test.go
eval_test.go
 
 
fib-10-profile.dat
fib-10-profile.dat
 
 
float_math_test.go
float_math_test.go
 
 
float_test.go
float_test.go
 
 
frame.go
frame.go
 
 
function.go
function.go
 
 
get_go_deps.rb
get_go_deps.rb
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
goreadline.go
goreadline.go
 
 
goreadline_windows.go
goreadline_windows.go
 
 
jenkins-mac-build.sh
jenkins-mac-build.sh
 
 
json_frame_support.go
json_frame_support.go
 
 
json_support.go
json_support.go
 
 
json_support_test.go
json_support_test.go
 
 
lisp_test.go
lisp_test.go
 
 
list_access.go
list_access.go
 
 
logging.go
logging.go
 
 
macro.go
macro.go
 
 
macros_test.go
macros_test.go
 
 
mapping.dat
mapping.dat
 
 
number_test.go
number_test.go
 
 
object_test.go
object_test.go
 
 
parser.go
parser.go
 
 
parsing_test.go
parsing_test.go
 
 
prim_alist.go
prim_alist.go
 
 
prim_binary.go
prim_binary.go
 
 
prim_bytearray.go
prim_bytearray.go
 
 
prim_channel.go
prim_channel.go
 
 
prim_concurrency.go
prim_concurrency.go
 
 
prim_debug.go
prim_debug.go
 
 
prim_environment.go
prim_environment.go
 
 
prim_frame.go
prim_frame.go
 
 
prim_io.go
prim_io.go
 
 
prim_list_access.go
prim_list_access.go
 
 
prim_list_functions.go
prim_list_functions.go
 
 
prim_list_manipulation.go
prim_list_manipulation.go
 
 
prim_list_set.go
prim_list_set.go
 
 
prim_macros.go
prim_macros.go
 
 
prim_math.go
prim_math.go
 
 
prim_mutators.go
prim_mutators.go
 
 
prim_relative_logical.go
prim_relative_logical.go
 
 
prim_setup.go
prim_setup.go
 
 
prim_special_forms.go
prim_special_forms.go
 
 
prim_string.go
prim_string.go
 
 
prim_system.go
prim_system.go
 
 
prim_type_predicates.go
prim_type_predicates.go
 
 
primitive_function.go
primitive_function.go
 
 
printing_test.go
printing_test.go
 
 
profiling.go
profiling.go
 
 
repl.go
repl.go
 
 
string_test.go
string_test.go
 
 
symbol_table_frame.go
symbol_table_frame.go
 
 
symbol_table_frame_test.go
symbol_table_frame_test.go
 
 
tokenizer.go
tokenizer.go
 
 
tokenizer_test.go
tokenizer_test.go
 
 
type_test.go
type_test.go
 
 
util.go
util.go
 
 
util_test.go
util_test.go
 
 

Repository files navigation

golisp

GoLisp is a simple Lisp language and runtime implemented in Google’s Go programming language. It’s main purpose is integration into a Go application to provide runtime extension and scripting. The core of a basic Lisp is provided, but with limited special forms and primitive functions. More of these will be added as required without having to modify the GoLisp core. Also, a REPL is provided and GoLisp can be used as-is to enter and evaluate code.

It is heavily inspired and influenced by Scheme (MIT/GNU scheme in particular). GoLisp 1.0 is much more in line with Scheme, but it is at it's heart a language for our purposes internally. It's growth and evolution reflect that.

GoLisp evolves along 4 axis:

  • becoming more compatible with MIT/GNU Scheme (GoLisp v1.0 is a huge move forward in this regard)
  • supporting more capabilities of the underlying Go implementation language (e.g. recent work supporting concurrency and channels)
  • our particular needs (e.g. byte array support)
  • useful additions (e.g. frames)

If GoLisp has a form or function that is also in MIT/GNU scheme, we strive to make it work the same way.

As much as possible the internals echo those in MIT/GNU Scheme. For example, the lexical environment structure/handling.

So, while it is intentionally very much like MIT/GNU Scheme, it is not constrained to conform the specification. That said, unless our extensions are used, code will usually be indistinguishable.

A complete language reference and other material is available at http://techblog.steelseries.com/golisp.

A sample application is also available at https://github.com/SteelSeries/golisp-example-app.

GoLisp has the following dependencies:

go get github.com/SteelSeries/set.v0 go get github.com/SteelSeries/bufrr go get gopkg.in/check.v1

About

A Scheme-flavored Lisp implemented in Go.

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

152 stars

Watchers

30 watching

Forks

22 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.