I am working on implementing a lisp interpreter, and i have get some source code from other projects, but i could not understand them well because lack knowledge on interpreter. I have tried to find some information, but only found some book about compiler. Are there some book or anything else about interpreter?
Thanks for any help.
------------------------------------------------------- Blue Lee Programer ,Big software
Blue Lee <liwen...@neusoft.com> writes: > Erik Naggum wrote: > > * Blue Lee <liwen...@neusoft.com> > > | I am working on implementing a lisp interpreter, > > Why?
> My boss's command.
Does he/she (your boss) know about diverse Common Lisp implementatons?
It's probably not a very good idea to re-implement that all. Why not use a "stable" implementation?
> Erik Naggum wrote: > > * Blue Lee <liwen...@neusoft.com> > > | I am working on implementing a lisp interpreter,
> > Why?
There are several reasons for doing this: improving your knowledge of computer science, research into language design, etc.
> My boss's command.
This is not a good reason, though. Point out to your boss that he would save the company money by using an existing implementation.
Le Hibou -- Dalinian: Lisp. Java. Which one sounds sexier? RevAaron: Definitely Lisp. Lisp conjures up images of hippy coders, drugs, sex, and rock & roll. Late nights at Berkeley, coding in Lisp fueled by LSD. Java evokes a vision of a stereotypical nerd, with no life or social skills.
Donald Fisk wrote: > Dalinian: Lisp. Java. Which one sounds sexier? RevAaron: Definitely Lisp. Lisp conjures up images of hippy coders, drugs, sex, and rock & roll. Late nights at Berkeley, coding in Lisp fueled by LSD. Java evokes a vision of a stereotypical nerd, with no life or social skills.
>>>>> "Blue" == Blue Lee <liwen...@neusoft.com> writes:
Blue> I am working on implementing a lisp interpreter, and i have Blue> get some source code from other projects, but i could not Blue> understand them well because lack knowledge on Blue> interpreter. I have tried to find some information, but only Blue> found some book about compiler. Are there some book or Blue> anything else about interpreter?
You might need to learn (or use an existing) garbage collector.
On garbage collections, there is a book by Jones & Lins.
Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net alias: basile<at>tunes<dot>org 8, rue de la Faïencerie, 92340 Bourg La Reine, France
Basile STARYNKEVITCH <basile...@SPAM+starynkevitch.net.invalid> writes: > >>>>> "Blue" == Blue Lee <liwen...@neusoft.com> writes:
> Blue> I am working on implementing a lisp interpreter, and i have > Blue> get some source code from other projects, but i could not > Blue> understand them well because lack knowledge on > Blue> interpreter. I have tried to find some information, but only > Blue> found some book about compiler. Are there some book or > Blue> anything else about interpreter?
In article <87znup1xuw....@jmmr.no-ip.com>, J.St. wrote: > Basile STARYNKEVITCH <basile...@SPAM+starynkevitch.net.invalid> writes:
>> >>>>> "Blue" == Blue Lee <liwen...@neusoft.com> writes:
>> Blue> I am working on implementing a lisp interpreter, and i have >> Blue> get some source code from other projects, but i could not >> Blue> understand them well because lack knowledge on >> Blue> interpreter. I have tried to find some information, but only >> Blue> found some book about compiler. Are there some book or >> Blue> anything else about interpreter?
> Amazon.de says 97.92 EUR ! That is even more expensive than "PC Intern > 6" ...
>> On garbage collections, there is a book by Jones & Lins.
> That costs 69.00 EUR ... Why is education *that* expensive?
It takes a lot of work to produce good books by smart and dedicated people, do you want them to do something else to earn a living?
And the true "expense" is the time it takes to learn what the book has to say. It is still *MUCH* cheaper to do it this way then the alternative, doing your own research. Especially when you may spend years rediscovering what you could have learned in months or never figure it out at all. You may get lucky and figure out something new, but it is unlikely.
>> >>>>> "Blue" == Blue Lee <liwen...@neusoft.com> writes:
>> Blue> I am working on implementing a lisp interpreter, and i have >> Blue> get some source code from other projects, but i could not >> Blue> understand them well because lack knowledge on >> Blue> interpreter. I have tried to find some information, but only >> Blue> found some book about compiler. Are there some book or >> Blue> anything else about interpreter?
> Amazon.de says 97.92 EUR ! That is even more expensive than "PC Intern > 6" ...
>> On garbage collections, there is a book by Jones & Lins.
> That costs 69.00 EUR ... Why is education *that* expensive?
It's expensive because supply and demand meets "diseconomies of small scale."
When Tom Clancy writes a book, and can expect to sell 8 million copies, if he gets 13 cents on each one, he gets a million bucks.
When Queinnec or Jones & Lins produce books that are expected to sell 8000 copies apiece, they can't afford to sell them for $19.95 and depend on large quantities to cover the cost of setting up the press.
You can't expect books with markets measured in the "few thousands" to be as inexpensive as books expected to sell in quantities of millions... -- (reverse (concatenate 'string "moc.enworbbc@" "enworbbc")) http://www3.sympatico.ca/cbbrowne/sap.html When aiming for the common denominator, be prepared for the occasional division by zero.
J.St. wrote: > That costs 69.00 EUR ... Why is education *that* > expensive?
The price of a book depends on the number of sold copies. The books you are talking about are for a few specialists only. But I usually have the library of the local university buy a copy for me and this costs of course nothing. Until now they have bought *every* *book* I asked them for. (And they are extremely fast too.)
-- Ja..s B.a.i
-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==---------- http://www.newsfeed.com The #1 Newsgroup Service in the World! -----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
* der_jul...@web.de (J.St.) | Why is education *that* expensive?
You should instead ask yourself why your education is so worthless to you. To rip off a very different phrase: Every man['s education] has a price, and yours is pretty low. Besides, every civilized culture has had libraries, and yours is probably still among them.
-- Erik Naggum, Oslo, Norway
Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.
> I am working on implementing a lisp interpreter, > and i have get some source code from other projects, > but i could not understand them well because lack > knowledge on interpreter. I have tried to find > some information, but only found some book about > compiler. Are there some book or anything else > about interpreter?
Take a look at the following link, http://www.civilized.com/LispBook/. You may find the information about their Lisp Interpreter useful in your work.
ilias wrote: > who is Dalinian? > who is RevAaron?
I'm sorry, I haven't a clue, but the exchange between them is from Slashdot, in a discussion on Erann Gat's paper "Lisp as an Alternative to Java".
Le Hibou -- Dalinian: Lisp. Java. Which one sounds sexier? RevAaron: Definitely Lisp. Lisp conjures up images of hippy coders, drugs, sex, and rock & roll. Late nights at Berkeley, coding in Lisp fueled by LSD. Java evokes a vision of a stereotypical nerd, with no life or social skills.
> I'm sorry, I haven't a clue, but the exchange between them is > from Slashdot, in a discussion on Erann Gat's paper "Lisp as > an Alternative to Java".
> Le Hibou > -- > Dalinian: Lisp. Java. Which one sounds sexier? > RevAaron: Definitely Lisp. Lisp conjures up images of hippy coders, > drugs, > sex, and rock & roll. Late nights at Berkeley, coding in Lisp fueled by > LSD. > Java evokes a vision of a stereotypical nerd, with no life or social > skills.
:)
I lived in Berkeley for a while. Even went to Blake's. Trust me when I say this: Berkeley has quite a few nerds. BTW I wonder if anyone can write more than 0.2 lines of code per minute while hopped up on pot.
On Wed, 11 Sep 2002 02:10:20 -0400, Oleg <oleg_inco...@myrealbox.com> wrote:
>BTW I wonder if anyone can write more than 0.2 lines of code per minute while hopped up on pot.
One can get an unbelievable amount of mundane coding done when reasonably *comfortable* on pot. But solving difficult problems seems like an idiotic waste of time (why? when you already *are* happy... if you know what I mean :)
though, this experience was with C not Lisp... still learning Lisp... :D
Oleg wrote: > I lived in Berkeley for a while. Even went to Blake's. Trust me when I say > this: Berkeley has quite a few nerds.
Do they write Lisp or Java?
> BTW I wonder if anyone can write more > than 0.2 lines of code per minute while hopped up on pot.
I know someone who did much of his programming under the influence of cannabis. In terms of lines of code, he was the most productive programmer I've ever met. The code was also surprisingly bug free. It was nowhere near perfect though -- it was often possible to cut it down to less than a tenth of its original size without loss of functionality. But even allowing for that (which may have been nothing to do with the cannabis), the guy was still very productive.
It's just anecdotal evidence, of course. I don't expect you'll find many papers on "influence of recreational drugs on programmer productivity", though New Scientist a few years back did have an article about their influence on spiders' web building. The spider on caffeine had the worst web.
Counting lines of code is a poor way of measuring productivity between programmers. (And between languages -- what is a line of Prograph?) FWIW your figure of 0.2 lines per minute comes to 12 per hour, or 90 per day. Most studies, for what they're worth, have concluded that the average programmer writes around 10-20 lines of documented, debugged, code per day, and that this is roughly independent of language. However, there's a factor of at least 10 difference among programmers. Relevant language/productivity comparisons include Erann Gat's study (well known around these parts) and "A comparison between Erlang and C++ for Implemention of Telecom applications".
> Oleg
Le Hibou -- Dalinian: Lisp. Java. Which one sounds sexier? RevAaron: Definitely Lisp. Lisp conjures up images of hippy coders, drugs, sex, and rock & roll. Late nights at Berkeley, coding in Lisp fueled by LSD. Java evokes a vision of a stereotypical nerd, with no life or social skills.
Donald Fisk <hibou0000nos...@enterprise.net> writes: > among programmers. Relevant language/productivity comparisons > include Erann Gat's study (well known around these parts) and "A > comparison between Erlang and C++ for Implemention of Telecom > applications".
The latter comparison sounds interesting. Do you have any references to it?
> Amazon.de says 97.92 EUR ! That is even more expensive than "PC Intern > 6" ...
it is worth it. during 88-94, i amassed a large a lisp/scheme library totalling several hundred tech reports and journal articles (scheme part alone was 172 entries according to my scheme biblio at the time) for some implementation work. i can safely say that "lisp in small pieces" would have rendered most of that effort (took me months to get copies of some of the project-mac era tech reports) unnecessary. there are very few books like it for the implementor of *any* language, and certainly nothing for lisp since allen. [yes, i completely disregard sicp :-]
oz --- never let your job get in the way of your work. -- david tilbrook
Will Deakin <anisotro...@hotmail.com> writes: > J.St. wrote: > > Amazon.de says 97.92 EUR ! That is even more expensive than "PC Intern > > 6" ... > Lol! (You *are* joking, aren't you?)
No. I bought PC Intern (the book, not some magazine) as US Import at a price of about 130 DM (65 EUR). 98 EUR for "Lisp in small pieces" is no joke either, at least according to amazon.de.
> >>On garbage collections, there is a book by Jones & Lins. > > That costs 69.00 EUR ... Why is education *that* expensive? > ...because, IMHO and having spent a little time looking at these > things, this book is about as good a book on GC as there is.
> Anyway, this is a bit like asking why Misner and Thorne, Hennessey and > Patterson or PAIP are *so* expensive. They aren't...