Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 744 Bytes

File metadata and controls

29 lines (21 loc) · 744 Bytes

APL\iv - core package

This is the core package of the interpreter.

Usage:

go get github.com/ktye/iv/apl/...

	// import github.com/ktye/iv/apl

	a := apl.New(os.Stdout)
	numbers.Register(a)
	primitives.Register(a)
	operators.Register(a)

	err := a.ParseAndEval("⍳3")

The core package and all additional packages in it's subdirectories require only the Go standard library. Extra packages with external dependencies can be found in iv/aplextra.

Packages

  • a access to the go runtime
  • big big numbers as an alternative
  • io filesystem access
  • rpc remote procedure calls and ipc communication
  • strings wrapper of go strings library
  • xgo generic interface to go types