Nп/п : 51 из 93
 От   : none) (albert                       2:5075/128        31 авг 23 11:37:50
 К    : Spiros Bousbouras                                     31 авг 23 12:40:01
 Тема : Re: MAL : closures and recursion
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
2404926c
@REPLY: <e1jFR1e0dJXio6H8+@bongo-ra.co> 70d81ab5
@REPLYADDR none) (albert
@REPLYTO 2:5075/128 none) (albert
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<20230826125020.141@kylheku.com>
<e1jFR1e0dJXio6H8+@bongo-ra.co>
@RFC-Message-ID:

@TZUTC: 0200
@TID: FIDOGATE-5.12-ge4e8b94
In article <e1jFR1e0dJXio6H8+@bongo-ra.co>,
Spiros Bousbouras  <spibou@gmail.com> wrote:
>On Sun, 27 Aug 2023 13:12:40 +0200
>albert@cherry.(none) (albert) wrote:
>> In article <20230826125020.141@kylheku.com>,
>> Kaz Kylheku  <864-117-4973@kylheku.com> wrote:
>> >This is a just a matter of knowing the requirements in MAL.
>>
>> That is far as you can help me. Unfortunately there is no
>> requirements for MAL, only an implementation model.
>> The descriptions are very lispy, and my implementation language
>> is totally different. But that was the point of this exercise
>> anyway. Thanks anyway.
>
>If you don`t have requirements then use your programmer`s instinct.
>If you were to use the Lisp you are implementing for writing useful
>programmes , which behaviour would you find most useful ? Then
>implement that behaviour.

I have no requirements for lisp. The MAL challenge is not to
implement a lisp, but use a particular language (Forth FORTRAN C
python go list-this lisp-that) to investigate the strong and weak
side of the implementation language for implementing it.
The attraction of the MAL side is that it has step-by-step
test driven development. Skipping MAL features is just cheating.

The strong point in my Forth implementation is the parser, that
is way simpler than any other implementation`s parser.
I`m on my way to spend approximately 30% of the code compared
to the Forth that is already present in MAL.

>
>> I like the explanation of lisp concepts on this website "lisp from
>> nothing", but it is not much help in implementing them.
>> https://www.t3x.org/lfn/index.html
>
>The website has code. Unless you mean it`s not much help in implementing
>them in Forth. I think  https://letoverlambda.com/textmode.cl/guest/toc
>has a Lisp implemented in Forth but what`s online doesn`t make it clear.
I have done a lisp in Forth
    https://github.com/albertvanderhorst/forthlisp

>You could buy the book.
Considering it. It is interesting in his own right.

I once worked through a lisp course book, so I have a basic skill.
From the 400 plus problems I have solved from projecteuler.net the
great majority were amenable to Forth. A few problems were easier in
Python, prolog or c. At no time I have felt inspired to use lisp.

Groetjes Albert
-- 
Don`t praise the day before the evening. One swallow doesn`t make spring.
You must not say "hey" before you have crossed the bridge. Don`t sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat spinning.            - the Wise from Antrim -
--- trn 4.0-test77 (Sep 1, 2010)
 * Origin: KPN B.V. (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх