Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use godzilla or otto instead of quickjs to not require cgo #4

Closed
jasikpark opened this issue Feb 20, 2020 · 1 comment
Closed

Use godzilla or otto instead of quickjs to not require cgo #4

jasikpark opened this issue Feb 20, 2020 · 1 comment

Comments

@jasikpark
Copy link

jasikpark commented Feb 20, 2020

The gohugio project has a requirement that it does not depend on cgo so therefore this can't be used by them.

Perhaps use godzilla or otto? It seems otto supports js sans CGO. And I think godzilla does as well.
#2 (comment)

I also might be confused because the pandoc element might be the cause of the use of cgo, isn't it.

@graemephi
Copy link
Owner

Pandoc generates the test; it's only required for development. cgo is needed to call out to quickjs, which is something godzilla or otto could replace, yes.

Godzilla looks pretty underbaked. Otto would involve embedding the KaTeX source anyway which feels like passing the buck to me. It also evaluates the AST directly, and this package is slow enough as it is.

Anyway, quickjs is in the package name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants