gval
bass
Our great sponsors
gval | bass | |
---|---|---|
2 | 4 | |
693 | 344 | |
0.6% | - | |
0.6 | 7.9 | |
3 months ago | 10 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gval
-
Interpreters built in Go
For practical start, see this: https://www.youtube.com/watch?v=JiViND-bpmw It explain one particular type of parser type that is quite easy to grasp and fun to write. Also look on some libraries that deliver "expression executors" - these are in fact small interpreted languages and can give you plenty of examples. Classic one (though currently unmaintaines I think) is: https://github.com/PaesslerAG/gval but there are plenty more, just google for them. On my last words, this is very enjoyable part of programming but it requires much learning so be patient and have fun!
-
My first open-source project looking for feedback
There is a nice lib that let you write much more compact expressions https://github.com/PaesslerAG/gval I'm using this lib for evaluating expressions in a small BPMN engine. At least your solution is missing a context, functions and data to work on. But trying stuff out is propably the best way to learm Go!
bass
-
We built the fastest CI in the world. It failed
We spent some time evaluating this on my team, and we're still experimenting with it.
I like it a lot, but the project appears to be mostly unmaintained since mid-2021, when the creator left it to work on a lispy CI/CD tool [0] that feels very complicated... not sure what's going on there.
-
How to create a language server (LSP) in Go?
vito/bass is a cool, well done scripting language implemented in Go with an LSP, I think. Here's the entrypoint: https://github.com/vito/bass/blob/main/cmd/bass/lsp.go
-
Interpreters built in Go
I've been following https://github.com/vito/bass which is a LISP implemented in Go
-
Bass – Lisp dialect for scripting the infrastructure beneath your project
Looks like it takes some inspiration from Clojure but isn't based on it: https://github.com/vito/bass#kernels-influence
What are some alternatives?
expr - Expression language and expression evaluation for Go [Moved to: https://github.com/expr-lang/expr]
govaluate - Arbitrary expression evaluation for golang
goja - ECMAScript/JavaScript engine in pure Go
cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
agora
Gentee script programming language - Gentee - script programming language for automation. It uses VM and compiler written in Go (Golang).
prolog - The only reasonable scripting engine for Go.
tengo - A fast script language for Go
anko - Scriptable interpreter written in golang
go-php - PHP bindings for the Go programming language (Golang)
otto - A JavaScript interpreter in Go (golang)
go-python - naive go bindings to the CPython2 C-API