The Autolog Design Notebook (ADN) describes design requirements and
specifications for the AutoLog inference programming system, as well as testing regimens.
The ADN is a Pages generated document and is modified frequently. The ADN
is a Lab notebook documenting system proposals and development issues.
The autolog app appears on the user's desktop and can be relocated by dragging.
Double-click the app to open the Autolog editor, or drop an autolog source file
on the app to open it in the editor. Use the editor's compile button to open
the theory in the AutoLogViewer window.
~ % java -version
java version "19.0.1" 2022-10-18
Java(TM) SE Runtime Environment (build 19.0.1+10-21)
Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)
autolog2023-2-28.zip( download)
An unzipped autolog development directory looks somewhat like this ...
autolog/
README.html (this page)
AutoLogApp.java (Desktop App)
build19 (relevant for Java 19)
help/ ...
makezip (writes autolog.zip here)
org/ (jar -xf antlr-runtime-4.11.1.jar)
sam/ (Skolem Abstract Machine)
antlr/ (input parsers/translators)
autolog/
machine/
aliases (antlr generate,compile & test )
AUTOLOG.g4
Reader.java (translation parser/walker)
Compiler.java (-> sam.machine.lang)
...
lang/ (autolog machine code)
gui/
AutoLogAnalyzer.java (code analysis)
engine (Java 19 concurrent inference ✓)
Conjunction.java
Disjunction.java
Fact.java
Functor.java
Inference.java
Rewrite.java
Rule.java
Term.java
Theory.java
Variable.java
ActiveMOD.java
ActiveRule.java
ActiveRewrite.java
Cache.java
ActiveTheory.java
InferenceManager.java
MatchTest.java
TangleTool.java
edit/ (AutoLog script editor)
util/
Info.html (built-in operators + DUOPs)
search/ (AutoLog Viewer)
symbols.txt (unicode operators)
AutoLogEditor.java
AutoLog.java
images/
Analyzer.html (Analyzer info)
Control.html (Control info)
LaTeXTree.java
TreePane.java
Index.java
Pattern.java
...
Visit https://www.antlr.org to download manna from antlr. Store downloaded antlr jars:
~/antlr-4.11.1-complete.jarUse the complete jar for generating the parsers.
~/antlr-runtime-4.11.1.jar
jar -xf antlr-runtime-4.11.1.jar
The development versions are archived using
makezip,
> source makezip <version>
This will store autolog<version>.zip in the autolog/
directory. Read the makezip file to see how it works.
NOTE: makezip removes compiled components (but NOT antlr-generated sources) before the zip.
Use build19 to recompile java components anytime (but not to generate parser-related java sources).
Read the build19 file to see how it works.
> source build19
To run AutoLogApp (editor/viewer) enabling
Java19 preview features one needs to use a command like
> java --enable-preview AutoLogApp &
I use
JavApp
mini IDE for Java projects.
The current java JDK version for Autolog development is given above,
before the link to the current zip archive.
Continue design/test for ADN, §6.6-6.12 regarding active components.
Switch to Java SDK 20 when it becomes available (march 2023).
An advantage for virtual threads, for concurrent inference components, seems unlikely at this time,
but specific runtime experiments will continue.The runnable autolog.jar files will need to use a non-preview JDK ...
Previous archives are listed here.