Skip to content

Commit

Permalink
Merge pull request #135 from refaktor/newloader
Browse files Browse the repository at this point in the history
Newloader
  • Loading branch information
refaktor authored Feb 19, 2024
2 parents f050e2b + c80d4ca commit e9fa4a6
Show file tree
Hide file tree
Showing 9 changed files with 367 additions and 481 deletions.
2 changes: 0 additions & 2 deletions contrib/builtins_contrib.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (

"github.com/refaktor/rye/contrib/aws"
"github.com/refaktor/rye/contrib/bleve"
"github.com/refaktor/rye/contrib/ebitengine"
"github.com/refaktor/rye/contrib/postmark"
"github.com/refaktor/rye/contrib/ryeopenai"
"github.com/refaktor/rye/env"
Expand Down Expand Up @@ -50,7 +49,6 @@ func RegisterBuiltins(ps *env.ProgramState, builtinNames *map[string]int) {
RegisterBuiltins2(bleve.Builtins_bleve, ps, "bleve", builtinNames)
RegisterBuiltins2(postmark.Builtins_postmark, ps, "postmark", builtinNames)
RegisterBuiltins2(ryeopenai.Builtins_openai, ps, "openai", builtinNames)
RegisterBuiltins2(ebitengine.Builtins_ebitengine, ps, "ebitengine", builtinNames)
}

// var builtinNames map[string]int
Expand Down
210 changes: 0 additions & 210 deletions contrib/ebitengine/builtins_ebitengine.go

This file was deleted.

10 changes: 0 additions & 10 deletions contrib/ebitengine/builtins_ebitengine_not.go

This file was deleted.

5 changes: 2 additions & 3 deletions evaldo/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -2048,7 +2048,7 @@ var builtins = map[string]*env.Builtin{
},
},

"do-in": { // **
"do\\in": { // **
Argsn: 2,
Doc: "Takes a Context and a Block. It Does a block inside a given Context.",
Fn: func(ps *env.ProgramState, arg0 env.Object, arg1 env.Object, arg2 env.Object, arg3 env.Object, arg4 env.Object) env.Object {
Expand All @@ -2073,7 +2073,7 @@ var builtins = map[string]*env.Builtin{
},
},

"do-in\\try": { // **
"do\\in\\try": { // **
Argsn: 2,
Doc: "Takes a Context and a Block. It Does a block inside a given Context.",
Fn: func(ps *env.ProgramState, arg0 env.Object, arg1 env.Object, arg2 env.Object, arg3 env.Object, arg4 env.Object) env.Object {
Expand Down Expand Up @@ -6988,7 +6988,6 @@ func RegisterBuiltins(ps *env.ProgramState) {
RegisterBuiltins2(Builtins_sqlite, ps, "sqlite")
RegisterBuiltins2(Builtins_validation, ps, "validation")
RegisterBuiltins2(Builtins_ps, ps, "ps")
RegisterBuiltins2(Builtins_webview, ps, "webview")
RegisterBuiltins2(Builtins_json, ps, "json")
RegisterBuiltins2(Builtins_stackless, ps, "stackless")
RegisterBuiltins2(Builtins_eyr, ps, "eyr")
Expand Down
Loading

0 comments on commit e9fa4a6

Please sign in to comment.