Main > Programming > Libraries >

InteLib 0.5.77

InteLib 0.5.77

Sponsored Links

InteLib 0.5.77 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.17 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1278
Date added: 2006-04-25
Publisher: Andrey V. Stolyarov

InteLib 0.5.77 description

InteLib is a library of C++ classes which lets you do Lisp programming within your C++ program even without any additional preprocessing, without all those calling conventions etc.
You can write a C++ code (that is, a code which is accepted by your C++ compiler) thinking in a "Lisp mode" and the code you write will look much like Lisp code altough it will be pure C++.
To give you the essential feeling, the following example is provided.
(defun isomorphic (tree1 tree2)
(cond ((atom tree1) (atom tree2))
((atom tree2) NIL)
(t (and (isomorphic (car tree1)
(car tree2))
(isomorphic (cdr tree1)
(cdr tree2))
))))
Just a Lisp function, isnt it? Now look at the following code:
(L|DEFUN, ISOMORPHIC, (L|TREE1, TREE2),
(L|COND,
(L|(L|ATOM, TREE1), (L|ATOM, TREE2)),
(L|(L|ATOM, TREE2), NIL),
(L|T, (L|AND,
(L|ISOMORPHIC, (L|CAR, TREE1),
(L|CAR, TREE2)),
(L|ISOMORPHIC, (L|CDR, TREE1),
(L|CDR, TREE2))
))))
Obviously the code is just the same, the syntax changed a bit, but its still the same. Well, do I surprise you if I say it is C++ code? If you dont believe, look at the following:
// File isomorph.cpp
#include "lisp/lisp.hpp"
#include "lisp/lsymbol.hpp"
#include "lfun_std.hpp"
LSymbol ISOMORPHIC("ISOMORPHIC");
static LFunctionalSymbol< LFunctionDefun > DEFUN("DEFUN");
static LFunctionalSymbol< LFunctionCond > COND("COND");
static LFunctionalSymbol< LFunctionAtom > ATOM("ATOM");
static LFunctionalSymbol< LFunctionAnd > AND("AND");
static LFunctionalSymbol< LFunctionCar > CAR("CAR");
static LFunctionalSymbol< LFunctionCdr > CDR("CDR");
LListConstructor L;
void LispInit_isomorphic() {
static LSymbol TREE1("TREE1");
static LSymbol TREE2("TREE2");
////////////////////////////////////////////////
//
(L|DEFUN, ISOMORPHIC, (L|TREE1, TREE2),
(L|COND,
(L|(L|ATOM, TREE1), (L|ATOM, TREE2)),
(L|(L|ATOM, TREE2), NIL),
(L|T, (L|AND,
(L|ISOMORPHIC, (L|CAR, TREE1),
(L|CAR, TREE2)),
(L|ISOMORPHIC, (L|CDR, TREE1),
(L|CDR, TREE2))
)))).Evaluate();
//
////////////////////////////////////////////////
}
// end of file
Well, this code is a complete C++ module and it does compile pretty well. No joke, its real.
By the way, dont try to find any use I made out of the macroprocessor. No macros have ever been used by InteLib (except those for conditional compile directives). Instead, just recall that comma is an operator in C++ and can be overloaded for user-invented data types.
Enhancements:
- Some new package-related features are implemented, and the GNU readline autodetection has been fixed.

InteLib 0.5.77 Screenshot

Advertisements

InteLib 0.5.77 Keywords

Bookmark InteLib 0.5.77

Hyperlink code:
Link for forum:

InteLib 0.5.77 Copyright

WareSeeker periodically updates pricing and software information of InteLib 0.5.77 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of InteLib 0.5.77 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
kingate library is an interface to CGI, conveniently enwrapped into c++ classes. Free Download
clipsmm is a C++ interface and library for CLIPS. Free Download
inotify-cxx program is the inotify C++ interface. Free Download
LibSerial provides a collection of C++ classes that allow one to access serial ports on POSIX systems. Free Download
Floyd is (or should be) an advanced 3D scene graph library, exploiting Gtk+, OpenGL and other advanced techniques. Free Download
Inline::CPR is C Perl Run. Free Download
Modell (Modular Extension Lisp Language) is an object-oriented, modular variant of the LISP programming language. Free Download
aiParts is a set of C++ classes that implement artificial intelligence techniques and some tiny sample programs. Free Download