[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PROPOSAL] with_cur_ios() function in the stdlib

From: apache2
Subject: Re: [PROPOSAL] with_cur_ios() function in the stdlib
Date: Sun, 10 Apr 2022 23:59:48 +0200
User-agent: Mutt/1.9.3 (2018-01-21)

On Mon, Apr 11, 2022 at 12:48:59AM +0430, Mohammad-Reza Nabipoor wrote:
> On Sun, Apr 10, 2022 at 06:35:51PM +0200, apache2 wrote:
> > I don't know what the distinction between the standard library vs
> > the run-time is, but it sounds fine.
> > 
> Run-time library is (ideally) minium set of necessary definitions/declarations
> for Poke compiler and generated PVM code to work properly.
> It is part of the implementation of compiler.
> And if you look at it, you'll see it's special .pk file. You have access to
> `__PKL_BUILTIN_*__` identifiers there; you can use `immutable` keyword there.
> OTOH, the std.pk is a set of *useful* variables/functions/types for Poke
> users. Like standard units, or functions like `catos`, `qsort` and so on.
> Here we're adding two very useful functions for users to write Poke code
> easier. So they belong to std.pk. They're useful, but not necessary.

Sounds good to me, I'm happy with that. :-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]