diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5afa1d0e5fcbfc520539921552bf41c5cea04d9b --- /dev/null +++ b/.gitignore @@ -0,0 +1,163 @@ +# -*- mode: gitignore; -*- +.* +!.gitignore +!.gitmodules +!.gitkeep +# Emacs Stuff +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ +*/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 + +## Intermediate documents: +*.dvi +*.ps +*.eps +*.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.brf +*.run.xml + +## Build tool auxiliary files: +*.fdb_latexmk +*.synctex +*.synctex.gz +*.synctex.gz(busy) +*.pdfsync + +## Auxiliary and intermediate files from other packages: +# algorithms +*.alg +*.loa + +# achemso +acs-*.bib + +# amsthm +*.thm + +# beamer +*.nav +*.snm +*.vrb + +# glossaries +*.acn +*.acr +*.glg +*.glo +*.gls +*.glsdefs + +# hyperref +*.brf + +# listings +*.lol + +# makeidx +*.idx +*.ilg +*.ind +*.ist + +# minitoc +*.maf +*.mlf +*.mlt +*.mtc +*.mtc[0-9] +*.mtc[1-9][0-9] + +# minted +_minted* +*.pyg + +# mylatexformat +*.fmt + +# nomencl +*.nlo + +# sympy +*.sout +*.sympy +sympy-plots-for-*.tex/ + +# pdfcomment +*.upa +*.upb + +# thmtools +*.loe + +# TikZ & PGF +*.dpth +*.md5 +*.auxlock + +# xindy +*.xdy + +# xypic precompiled matrices +*.xyc + +# endfloat +*.ttt +*.fff diff --git a/forward-chain-program.org b/forward-chain-program.org new file mode 100644 index 0000000000000000000000000000000000000000..9912d7f9da45f44cbf26e36e24f79f096bf70b2c --- /dev/null +++ b/forward-chain-program.org @@ -0,0 +1,65 @@ +#+Title: Forward Chaining +#+Subtitle: Or, a Common Lisp Logic System +#+AUTHOR: Samuel W. Flint +#+EMAIL: swflint@flintfam.org +#+DATE: <2016-09-28 Wed 21:32> +#+INFOJS_OPT: view:info toc:nil path:http://flintfam.org/org-info.js +#+OPTIONS: toc:nil H:5 ':t *:t todo:nil stat:nil d:nil +#+PROPERTY: header-args :noweb tangle :comments noweb +#+LATEX_HEADER: \usepackage[margins=0.75in]{geometry} +#+LATEX_HEADER: \parskip=5pt +#+LATEX_HEADER: \parindent=0pt +#+LATEX_HEADER: \lstset{texcl=true,breaklines=true,columns=fullflexible,basicstyle=\ttfamily,frame=lines,literate={<=}{$\leq$}1 {>=}{$\geq$}1} +#+LATEX_CLASS_OPTIONS: [10pt,twoside] +#+LATEX_HEADER: \pagestyle{headings} + +* Export :noexport: +:PROPERTIES: +:CREATED: <2016-09-28 Wed 21:33> +:END: + +#+Caption: Export Document +#+Name: export-document +#+BEGIN_SRC emacs-lisp :exports none :results none + (save-buffer) + (let ((org-confirm-babel-evaluate + (lambda (lang body) + (declare (ignorable lang body)) + nil))) + (org-latex-export-to-pdf)) +#+END_SRC + +* Tangle :noexport: +:PROPERTIES: +:CREATED: <2016-09-28 Wed 21:33> +:END: + +#+Caption: Tangle Document +#+Name: tangle-document +#+BEGIN_SRC emacs-lisp :exports none :results none + (save-buffer) + (let ((python-indent-offset 4)) + (org-babel-tangle)) +#+END_SRC + +* Introduction +:PROPERTIES: +:CREATED: <2016-09-28 Wed 21:32> +:UNNUMBERED: t +:END: + +* TOC :ignore: +:PROPERTIES: +:CREATED: <2016-09-28 Wed 21:33> +:END: + +#+TOC: headlines 3 +#+TOC: listings + +* Packaging + +#+Caption: Packaging +#+Name: packaging +#+BEGIN_SRC lisp :tangle "logic.lisp" + +#+END_SRC