Re: sLisp (and maybe something else too?)
Brought to you by:
set
From: salvador <sal...@in...> - 2001-09-24 20:54:01
|
Grzegorz Adam Hankiewicz wrote: > On Mon, Sep 24, 2001 at 09:50:18AM -0300, salvador wrote: > > What really considered was using a powerful script language, like Perl, > > but for this I must investigate how to do it. > > I know Perl can be used in C through libperl, but I don't know if it > > can handle "persistence" between calls. > > Hmmm... could you give an example of "persistence"? Simple: 1) I call Perl with a program like it: "$a=1;" 2) So Perl compiles it and then executes. 3) Control is back to C code. 4) Now I call Perl library again with: "print $a;" 5) I should expect 1 as result. In the past, I didn't really make any effort to solve it I saw the calls acted as independent. The variables of the first call didn't exist in the second. I don't know if it was solved. In fact I didn't make the tests, a friend did it. > > Having Perl embedded in the editor could be really nice. It will be > > added before version 1.0.0, of course it could be in 20 years ;-) > > But it should be optional, so I need a basic macro language. > > And speaking about optional, I guess you will make us _all_ happy and let > as optional a python parser too? I obviously volunteer to implement such > an option when the time comes, and if nobody else steals the priviledge :) :-)), no problem. I said Perl just because I use Perl. And I use Perl because is much more popular than Python and hence you find much more information, tools, etc. I don't have nothing against Python. SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |