Hacker News new | ask | show | jobs
by missblit 641 days ago
With "[sprintf] unexpected placeholder".

This is presumably https://github.com/fengari-lua/fengari/issues/147. You can workaround it by substituting "%.f" for "%.0f" in https://fennel-lang.org/fennel/fennel.lua.

However Chrome won't let me override the contents of this URL for some reason. And the first Firefox response override extension I tried ended up confusing the page. So you can alternatively override the contents https://fennel-lang.org/fengari-web.js as follows:

`"string" == typeof o.response ? a.f = yt(o.response.replace("%.f","%.0f")) : a.f = new Uint8Array(o.response.replace("%.f","%.0f"));`

(Just before `var l = Ee(a);`)

Opened a bug for it: https://github.com/bakpakin/Fennel/issues/485

1 comments

And it looks like its already fixed.
It has not been fixed yet.

> I've turned the web repl back to 1.5.0 for now while we investigate the issue.[1]

[1] https://github.com/bakpakin/Fennel/issues/485#issuecomment-2...