all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using lisp code in emacs inside a C program
@ 2012-10-25  3:13 gnuist007
  2012-10-25 15:17 ` Sohail Somani
       [not found] ` <mailman.11690.1351178239.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: gnuist007 @ 2012-10-25  3:13 UTC (permalink / raw)
  To: help-gnu-emacs

Dear Lispers,

I wrote a humble file parsing/structure-searching program in emacs
lisp. Essentially a collection of elisp functions called by a main
function. I may need the function to grow and to maintain it. I think
its easiest in the elisp in which I started the project.

I want to convert it to an executable or a form that runs without the
need for emacs. Hence, I want to be able to take whatever lisp
interpreter code from emacs and link to it or incorporate inside my C
executable.

The main functions from the emacs that my program uses are essentially
navigation and
regexp and non-greedy wildcards, ie "*?" and multiline searches.

I dont know if any of the standard regexp library in C or C++ supports
such extended regexp. Even sed does not support it and I avoid perl.
The only other option would be javascript but I want to stay loyal to
lisp if you are able to give me enough ideas on this matter. 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.

There is really no gui facility that it uses. I am sure many of you
have done this kind of thing as I keep on hearing but have to go
through all the steps myself.

Gnuist





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-10-28 17:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25  3:13 Using lisp code in emacs inside a C program gnuist007
2012-10-25 15:17 ` Sohail Somani
     [not found] ` <mailman.11690.1351178239.855.help-gnu-emacs@gnu.org>
2012-10-25 15:46   ` gnuist007
2012-10-28 17:42     ` Pascal J. Bourguignon
2012-10-26  5:08   ` Rivka Miller
2012-10-26  5:59     ` William Gardella
2012-10-26 17:24       ` gnuist007
2012-10-26 21:03         ` Aurélien Aptel
2012-10-27 17:01         ` William Gardella

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.