-
Notifications
You must be signed in to change notification settings - Fork 22
/
main.go
42 lines (31 loc) · 667 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//go:build linux || darwin || windows
// +build linux darwin windows
package main
import (
"errors"
"github.com/jwalton/go-supportscolor"
"github.com/refaktor/rye/env"
"github.com/refaktor/rye/runner"
)
type TagType int
type RjType int
type Series []any
type anyword struct {
kind RjType
idx int
}
type node struct {
kind RjType
value any
}
var CODE []any
//
// main function. Dispatches to appropriate mode function
//
// NEW FLASGS HANDLING
func main() {
supportscolor.Stdout()
runner.DoMain(func(ps *env.ProgramState) {})
}
// ErrNoPath is returned when 'cd' was called without a second argument.
var ErrNoPath = errors.New("path required")