[ANN] Scriggo - Go template engine and embeddable interpreter

228 views
Skip to first unread message

Marco Gazerro

unread,
Sep 15, 2021, 9:15:43 AM9/15/21
to golang-nuts
Announcing Scriggo, an open source Golang template engine that uses Go as its scripting language. Scriggo also includes an embeddable interprter for the Go language.


Christoph Berger

unread,
Sep 16, 2021, 3:49:25 AM9/16/21
to golang-nuts
Hi Marco,

That's super interesting, especially the Go interpreter part. 

Curious – how close is the interpreter to the latest Go version?
And how fast are new Go versions adopted?

Thanks,
Christoph

Sebastien Binet

unread,
Sep 16, 2021, 9:24:07 AM9/16/21
to Marco Gazerro, golang-nuts
it's a rather interesting project.
the comparison against yaegi (at least on the fibonacci example) is
flabergasting. (did you try against gomacro[1]?)

do you plan to expose a REPL powered by Scriggo?

anyways: nice project & congrats!

-s

[1]: https://github.com/cosmos72/gomacro

>
> --
> You received this message because you are subscribed to the Google
> Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to golang-nuts...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/aab8d0e1-8180-4f78-a6db-82db9f0b31fdn%40googlegroups.com.

Marco Gazerro

unread,
Sep 16, 2021, 10:08:15 AM9/16/21
to golang-nuts
Hi Christoph,

> Curious – how close is the interpreter to the latest Go version?

The interpreter implements Go 1.17 with some limitations that we need to work on. You can see the following page:


> And how fast are new Go versions adopted?

We try to support the latest version of Go as soon as it is released. We keep track of all changes in the developer version, you can see this issue:



Marco

Marco Gazerro

unread,
Sep 16, 2021, 10:17:56 AM9/16/21
to golang-nuts
> the comparison against yaegi (at least on the fibonacci example) is
> flabergasting. (did you try against gomacro[1]?)

We haven't tested gomacro, but we can certainly add it to the benchmarks.

> do you plan to expose a REPL powered by Scriggo?

At the moment this is not planned yet as we would like to complete the implementation of all Go specifications first.

> anyways: nice project & congrats!

Thank you.

marco
Reply all
Reply to author
Forward
0 new messages