~javiljoen

Cape Town

https://www.javiljoen.net

~javiljoen/yatte

Last active a month ago

~javiljoen/public-inbox

Last active 2 years ago

~javiljoen/lttb-devel

Last active 3 years ago
View more

Recent activity

Release: yatte 0.10.0 a month ago

From JA Viljoen to ~javiljoen/yatte

yatte 0.10.0 has been released on [Sourcehut] and published to [PyPI].

[Sourcehut]: https://git.sr.ht/~javiljoen/yatte/refs/0.10.0
[PyPI]: https://pypi.org/project/yatte/


The breaking changes are as follows:

- The minimum version of Python is increased to 3.8.

- In the `utils` module, function
  `check_envvars(set[str]) -> set[str]` has been replaced with
  `assert_defined(seq[str]) -> None`, which may raise an `AssertionError`.

Re: Why can a constant be reassigned? 10 months ago

From JA Viljoen to ~sircmpwn/hare-users

I see. Thank you both for clarifying!

Why can a constant be reassigned? 10 months ago

From JA Viljoen to ~sircmpwn/hare-users

Hello,

I'm going through the Introduction to Hare tutorial, and in the section
on variables and constants[0], I changed the example to see what would
happen if I try to assign to a const, e.g.:

    use fmt;

    export fn main() void = {
    	const i: int = 1, j: int = 2;
    	j = i;
    	fmt::printfln("i = {}, j = {}", i, j)!;
    };

First public release: 0.9.0 2 years ago

From to ~javiljoen/yatte

The yatte package has been published on [PyPI];
it can now be installed with `pip install yatte`.

Please see the [docs] for usage details.

[PyPI]: https://pypi.org/project/yatte/
[docs]: https://yatte.javiljoen.net/