unsubscribe

2022-12-13 Thread Kevin Ednalino

Re: Issue with run or fill

2022-06-22 Thread Kevin Ednalino
Thanks Alex! It makes sense now. Normally, I would use a superclass but it's in the context of a component system so there's no inheritance (just polymorphism). --Kevin On Wed, Jun 22, 2022 at 8:12 AM Alexander Burger wrote: > Hi Kevin, > > > I'm wondering why this is not running as expected?

Issue with run or fill

2022-06-22 Thread Kevin Ednalino
Hello, I'm wondering why this is not running as expected? (for @Cls '(+A +B) (run (fill '((class @Cls) (println 'define '@Cls) # prints: "define +A", then "define +B" (dm c> () (println (type This) 'default)) (c> (new '(+A))) # prints: "(+A) default" - correct

Re: Windows builds available

2022-06-21 Thread Kevin Ednalino
It's useful more so for non-developers and end users, or people who don't have access to WSL and hardware-assisted virtualization such as in corporate settings. Since it's native there's fewer layers of abstraction so it provides more seamless interoperability with Windows functionality (and

Windows builds available

2022-06-14 Thread Kevin Ednalino
Hello, I've been able to successfully (mostly) build pil21 on Windows 10 using MSYS2. There are a few caveats that should be fixable: * requires bootstrapping from Linux to produce *.ll files * builds statically-linked currently * libreadline disabled - linking issues (so no builtin REPL) * ext

Re: An assembly question from the past

2022-04-02 Thread Kevin Ednalino
Hello, To answer your question without going into gory details, assuming the program was compiled for a 32-bit arch where the pointer size is typically 4 bytes (vs 8 bytes on 64-bit), any code assuming this would need to be addressed, especially bit operations. Generally, it's straight-forward to

Re: Possible bug with prog1 and @

2022-02-09 Thread Kevin Ednalino
That makes sense now. Thanks for the clarification! Kevin On Tue, Feb 8, 2022 at 1:03 PM Alexander Burger wrote: > Hi Kevin, > > > I may have encountered a possible bug, unless my understanding of @ is > > incorrect. It appears the value of @ is not restored in a prog1 body when > > another

Possible bug with prog1 and @

2022-02-08 Thread Kevin Ednalino
Hello, I may have encountered a possible bug, unless my understanding of @ is incorrect. It appears the value of @ is not restored in a prog1 body when another flow/logic statement occurs as the car of an expression within the said prog1 body. In both cases, the correct result is returned from

Re: Behavior of struct and single-precision floating-point

2021-12-13 Thread Kevin Ednalino
Fantastic. Thanks Alex! On Sun, Dec 12, 2021 at 4:33 AM Alexander Burger wrote: > Hi Kevin, hi all, > > On Thu, Dec 09, 2021 at 09:40:51PM +0100, Alexander Burger wrote: > > The conversion function can easily detect the type (short or big) when > > converting to float, and overflow to bignum if

Re: Behavior of struct and single-precision floating-point

2021-12-09 Thread Kevin Ednalino
Ah, I see. I also found the issue was brought up previously: https://www.mail-archive.com/picolisp@software-lab.de/msg10799.html I agree with keeping the spec small (in regards to the most recent discussion), but possibly another token to identify bignum returns? -Kevin On Thu, Dec 9, 2021 at

Re: Behavior of struct and single-precision floating-point

2021-12-09 Thread Kevin Ednalino
Alexander Burger wrote: > On Thu, Dec 09, 2021 at 09:21:44AM -0500, Kevin Ednalino wrote: > > but I will review the IEEE standard. > > It is not directly an IEEE issue. > > > On Thu, Dec 09, 2021 at 03:36:48PM +0100, Alexander Burger wrote: > > Yes, the number n

Re: Behavior of struct and single-precision floating-point

2021-12-09 Thread Kevin Ednalino
That was my other thought. I guess I was expecting the number to be rounded or truncated, but I will review the IEEE standard. -Kevin On Thu, Dec 9, 2021 at 2:44 AM Alexander Burger wrote: > Hi Kevin, > > > I'm getting strange results with the following: > > ... > > : (scl 16) > > -> 16 > > :

Behavior of struct and single-precision floating-point

2021-12-08 Thread Kevin Ednalino
Hello, I'm getting strange results with the following: : (version) 21.11.17 -> (21 11 17) : (scl 16) -> 16 : (setq Ptr (%@ "malloc" 'P 4)) -> 9674752 : (struct Ptr NIL (list -1.0 1280.0)) -> NIL : (format (car (struct Ptr '(-1.0 . 1))) *Scl) -> "-103.5058256155770880" : (struct Ptr (cons 'B 4))

Re: Licence Dilemma

2020-11-21 Thread Kevin Ednalino
I built mruby from AUR and when I do ldd there is no linking to libreadline: linux-vdso.so.1 (0x7ffe02708000) > libm.so.6 => /usr/lib/libm.so.6 (0x7f6f005cb000) > libc.so.6 => /usr/lib/libc.so.6 (0x7f6f00402000) > /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 >

Re: Licence Dilemma

2020-11-21 Thread Kevin Ednalino
libedit probably not a suitable replacement: https://github.com/conda-forge/python-feedstock/issues/387 > OK, let me rephrase, then. I am that person. I work on some other projects > that use readline/libedit. I can tell you that it is a huge headache, even > on Mac, when libedit is used

Re: PilCon Friday

2020-11-05 Thread Kevin Ednalino
Personally, I work business hours so Friday mornings I'm generally unavailable (GMT). I think at least one on the weekday in the afternoon/evening and one on the weekend might be the most convenient with the latter more convenient for non-European timezones. For example, if it's hosted on

Re: Announcing another project: a Unicorn-inspired PicoLisp daemon

2020-06-20 Thread Kevin Ednalino
I've thought about this also. The "batteries included" philosophy (Python a good example of this or CL's "alexandria" library), would help welcome new users getting started quickly, which seems more of a bigger factor for language adoption these days, and reduce duplication of effort. In addition,

Re: cells in picolisp [tutorial, slides]

2020-06-06 Thread Kevin Ednalino
Nice work! I like the use of view to depict the cellular structure and the wagon analogy. I'm assuming this is targeting beginners? A few suggestions: * Before using setq in the examples, define it like set and cons so viewers don't get surprised. * Compare setq to set - might be a source of

Re: Fridays for Functions (Was: PilCon 2020)

2020-06-03 Thread Kevin Ednalino
Sounds good! On Wed, Jun 3, 2020 at 7:00 AM Alexander Burger wrote: > Hi all, > > after we canceled PilCon 2020, we discussed in this list and in IRC the > idea of > doing something online instead. Some people proposed Jitsi. > > A linear format of just streaming presentations is a bit

Re: PilCon 2020

2020-04-24 Thread Kevin Ednalino
+1 On Thu, Apr 23, 2020 at 12:34 PM Bruno Franco wrote: > I am interested too in an online conference. Its the only way I could > attend anyways. And saving it up for playback on youtube interests me. > > On Thu, Apr 23, 2020 at 1:58 AM O.Hamann wrote: > >> Timely, short, clear communication,

Re: Proposal: PilCon 2020

2019-12-28 Thread Kevin Ednalino
Not to derail this thread too much, but a RISC-V port would be a more forward-looking prospect. Unfortunately, there aren't many commodity SoCs available yet that can run a proper Linux; for now, qemu can be used for emulation. In terms of the growing hobbyist/robotics/IoT field, a PilOS port to

Re: Proposal: PilCon 2020

2019-12-26 Thread Kevin Ednalino
Hello! I would be interested in attending, with an 80% chance, ultimately depending on my work schedule availability. If I make significant progress on my current PicoLisp project by then, I could contribute a presentation :) Sincerely, Kevin On Wed, Dec 25, 2019 at 10:04 AM Alexander Burger

Breaking The Memory Management Dichotomy

2019-06-08 Thread Kevin Ednalino
ement is not feasible (see Java's various GC implementations). Sincerely, Kevin Ednalino

Subscribe

2019-06-06 Thread Kevin Ednalino