Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Pascal J. Bourguignon" <pjb@informatimago.com> |
| Newsgroups | gnu.emacs.help, comp.emacs, comp.lang.c, comp.lang.lisp |
| Subject | Re: Using lisp code in emacs inside a C program |
| Date | Sun, 28 Oct 2012 18:42:44 +0100 |
| Organization | Informatimago |
| Lines | 70 |
| Message-ID | <87vcduijcb.fsf@informatimago.com> (permalink) |
| References | <38c1b402-deb0-497a-adc3-640c525ab8c2@g4g2000yqk.googlegroups.com> <mailman.11690.1351178239.855.help-gnu-emacs@gnu.org> <8281076c-13c5-4e5f-be0b-1f06dd9a82a5@g4g2000yqk.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net ebVPAimbFwTT5KyA6MdaOgRDdrtT+OgEJ7TmxRjiUlCmdgr97LZL3IAJdAXHW1moEP |
| Cancel-Lock | sha1:YTg1YWIwZmEzNmI3Yzg5ZTY3MGJlZTZmMmNmZTljYTI2ZDlkZTgyOQ== sha1:G7aE+G0BpbYkgVDK1Fzi2f8ovk4= |
| Face | iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== |
| X-Accept-Language | fr, es, en |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.4 (darwin) |
| Xref | csiph.com comp.emacs:1595 comp.lang.c:27796 comp.lang.lisp:11796 |
Cross-posted to 4 groups.
Show key headers only | View raw
gnuist007@hotmail.com writes: > On Oct 25, 8:17 am, Sohail Somani <soh...@taggedtype.net> wrote: >> On 24/10/2012 11:13 PM, gnuist...@hotmail.com wrote: >> >> > I would >> > be even willing to put together a small lisp interpreter in C with >> > your help and then bootstrap it using Lisp etc and then dump the >> > binary image after it has computed rest of the higher lisp definitions >> > in primitive lisp and link it to my code in elisp. >> >> Try http://ecls.sourceforge.net/ which is an embeddable Common Lisp. >> It's pretty handy and good at what it says it does. > > Thanks for the link and the terminology of embedded. > I want to know more about the authors, but I could not find any clue. The current maintainer is Juan Jose Garcia Ripoll. http://lisp-univ-etc.blogspot.fr/2012/06/juan-jose-garcia-ripoll-is-physicist.html http://ecls.sourceforge.net/ http://ecls.sourceforge.net/resources.html > Also, if anyone has used it and its compatibility with the emacs. All CL implementation is compatible with emacs, in the sense that you can use emacs to edit CL programs, and you can run it with M-x inferior-lisp RET, or even for most of them (including ecl) with M-x slime RET. > I found a file called emacs.el in it and I am pasting it here so people > can guess what it does and offer comments. What might be the structure > of the program like? Certainly, would be interesting to read the > source and if anyone has done so and if it is commented well or > obfuscated? Almost all projects written by programmers using emacs will contain some emacs lisp file containing some utility emacs commands the authors use to edit the project files. > Here the personality of the authors comes in handy to know > their motivations for the project. > > Maybe, I also try to find the core file where he has written the > interpreter in C. Can anyone point it out and the general structure of > the program? The ecl subdirectory named "src" contains: [pjb@triton :0 src]$ ls ./ aclocal.m4 clx/ config.sub* gc/ lsp/ ../ bare.lsp.in cmp/ configure* gmp/ new-cmp/ CHANGELOG* c/ compile.lsp.in* configure.in h/ util/ Makefile.in clos/ config.guess* doc/ install.sh* I would say cmp/ and new-cmp/ contain compilers. The c/ contains some C sources, including a file named "interpreter.d". Concerning personalities, I would say yours doesn't bode well, given that you didn't fetch the sources and see that yourself. One wonders about your motivations... ;-) -- __Pascal Bourguignon__ http://www.informatimago.com
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using lisp code in emacs inside a C program gnuist007@hotmail.com - 2012-10-24 20:13 -0700
Re: Using lisp code in emacs inside a C program gnuist007@hotmail.com - 2012-10-25 08:46 -0700
Re: Using lisp code in emacs inside a C program "Pascal J. Bourguignon" <pjb@informatimago.com> - 2012-10-28 18:42 +0100
Re: Using lisp code in emacs inside a C program gnuist007@hotmail.com - 2012-10-26 10:24 -0700
csiph-web