background preloader

Welcome to Pyke

Welcome to Pyke

PyLog Contact me Friday 25. march 2016: Dear backers, unfortunately, the FUN project was not successfully funded. I will now focus on FRP (Functional Reactive Programming) applied to real-time critical system specification and simulation. Recherche d’emploi ingénieur en informatique actuellement en CDI mais à l’écoute du marché Type de poste poste à dominante R&D en informatique, architecture Compétences aéronautique, DO 178B, logiciel embarqué, simulation, vérification, certification, outillage, automatisation, intelligence artificielle, programmation fonctionnelle (Haskell, OCaml), programmation logique (PROLOG)… (CV : HTML ou PDF ) Localisation région toulousaine ou télétravail (déplacements possibles) Contact PyLog is a first order logic library including a PROLOG engine in Python.Please do not hesitate to test it and to report bugs and comments. notePython 2.4 or newer is required! Any collaboration is welcome ;-) PyLog is available under the GNU Lesser General Public: >>> from PyLog import * Terms Atoms

Pythologic -- Prolog syntax in Python Python is widely acclaimed for supporting many programming paradigms; you can write procedural code, object oriented code, functional code, and thanks to metaclasses, even aspect oriented programming is not hard. However, Python has no support for the logical programming paradigm; this recipe aims to bring Python a little closer there. Start at the bottom of the source. Putting logical inference code into Python has been done before, e.g. The "magic" is divided between Database.consult(), which turns all undefined names in the function to logical symbols, and the overloaded operators in the Struct and Symbol classes. This recipe has some problems: First of all, it is wildly unpythonic, in its abusive overhaul of the function semantics. Still, I think it is an interesting, and (if I may say so myself) thought-provoking example of how far a little meta-programming can take you.

Natural Language Toolkit — NLTK 3.0 documentation

Related: