lisgo

command module
v0.0.0-...-71d8811 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: MIT Imports: 6 Imported by: 0

README

lis.go

GoによるミニマムなScheme処理系です。

PythonによるミニマムなScheme処理系であるlis.pyを元にしています。

実行方法

ビルドせずに実行
$ make run
ビルド

./lisgo という実行可能バイナリが生成されます。

$ make build

主なファイルと説明

  • lis.go エントリポイントとreplのループ
  • tokenize.go 字句・構文解析器
  • eval.go 評価器
  • token.go ASTを表す構造体
  • env.go 「環境」を表す構造体
  • operators.go 組み込み関数

実装されている(されていない)機能

todo.mdを参照してください。

LICENSE

MIT LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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