~cznic

Recent activity

Unused assignemnt to variable 2 days ago

From Jan Mercl to ~sbinet/star-tex

Hi Sebastien.

staticcheck noticed this:
https://git.sr.ht/~sbinet/star-tex/tree/main/item/cmd/dvi-cnv/png.go#L68

I'm not able to figure out if the value of the computation should be
used somehow or if it is perhaps some leftover from a debug session or
something else.

Best,

-j

[ANN] libqbe 9 months ago

From Jan Mercl to ~mpu/qbe

libqbe is a Go package wrapping the [transpiled to Go] QBE command.

https://pkg.go.dev/modernc.org/libqbe

-j

Re: make check issues 1 year, 24 days ago

From Jan Mercl to ~mpu/qbe

Thanks for replying!

On Fri, Aug 18, 2023 at 3:24 PM Quentin Carbonneaux <quentin@c9x.me> wrote:
>
> On Sun, Aug 13, 2023, at 13:52, Jan Mercl wrote:
> > -       if ! $cc -g -o $exe $src
> > +       if ! $cc -g -o $exe $src -lpthread
>
> Could you check what the variable 'cc' is set to
> at this point? I believe it should include -lpthread
> already.

On my system it seems to be not set.

make check issues 1 year, 29 days ago

From Jan Mercl to ~mpu/qbe

I was not able to run $ make check, see the terminal session below:

jnml@3900x:~/src/c9x.me/qbe$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
jnml@3900x:~/src/c9x.me/qbe$ git log -1
commit e493a7f23352f51acc0a1e12284ab19d7894488a (HEAD -> master,
origin/master, origin/HEAD)
Author: Alexey Yerin <yyp@disroot.org>
Date:   Sun May 28 12:01:32 2023 +0300

    Bump NString
[message trimmed]

Re: [ANN] star-tex v0.1.0 3 years ago

From Jan Mercl to ~sbinet/star-tex

@d24877c3

jnml@3900x:~/src/modernc.org/web2go$ go test -v
=== RUN   TestScanner
    all_test.go:111: toks: 123190
--- PASS: TestScanner (0.09s)
=== RUN   TestParser
--- PASS: TestParser (0.12s)
PASS
ok  modernc.org/web2go 0.219s
jnml@3900x:~/src/modernc.org/web2go$

Re: [ANN] star-tex v0.1.0 3 years ago

From Jan Mercl to ~sbinet/star-tex

On Wed, Feb 24, 2021 at 11:48 PM Sebastien Binet <s@sbinet.org> wrote:

> originally, during the transition to UNIX, the TeX toolchain migrated to
> Web2c, that does what I planned for Go, but with C as a target.
> (then people such as LuaTeX or XeTeX and others, tried to get rid of the
> WEB step as it's a bit cumbersome to edit).
>
> The sources of Web2c are there:
> - https://github.com/TeX-Live/texlive-source/tree/trunk/texk/web2c/web2c
> - https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/tangle.web
> - https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/tangle.ch
> - https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/tangle-sh.in
>
>

Re: [ANN] star-tex v0.1.0 3 years ago

From Jan Mercl to ~sbinet/star-tex

On Wed, Feb 24, 2021 at 10:22 PM Sebastien Binet <s@sbinet.org> wrote:

> In parallel, we should probably develop a complete web2go program that
>
> - takes the official "tex.web" file,
> - parses it,
> - retains all documentation informations,
> - preserves strings, constant literals,
> - dumps the (Pascal) AST as Go code.
>
> Prior art related to this: [1].
>
> that should be fun.