Start modeling the source locations for changes and their metadata

Uses Jeannie <https://bitbucket.org/easye/jeannie>, a W3 semantics
toolkit based on Apache Jena <https://jena.apache.org/>.
parent 77f59118
......@@ -180,3 +180,10 @@ be in a directory named '../ansi-test/'."
:depends-on (dexador alexandria)
:components ((:module http :pathname "tools/"
:components ((:file "resource")))))
(defsystem abcl/model/changes
:version "0.1.0"
:depends-on (jeannie) ;;; <https://bitbucket.org/easye/jeannie>
:components ((:module n3 :pathname "etc/"
:components ((:static-file "changes.n3")
(:file "changes")))))
(defpackage abcl/model/changes
(:use :cl)
(:export
#:validate))
(in-package :abcl/model/changes)
(defun validate (&key
(system "abcl")
(model "etc/changes.n3"))
(let ((file (probe-file (asdf:system-relative-pathname system model))))
(when file
(jeannie:read-rdf file :format :n3))))
# -*- Mode: n3 -*-
@prefix : <urn:abcl.org/etc/changes.n3> .
@prefix cl: <urn:common-lisp/packages/common-lisp#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://github.com/armedbear/abcl/pull/78/files>
:conversation cl:nil ;
:diff
[
<abcl/tools/resource:retrieve> <https://github.com/armedbear/abcl/pull/78.diff> ;
rdf:comment "Contains all commits collapsed into single diff."
] ;
:commits
(<https://github.com/armedbear/abcl/pull/78/commits>) ;
:files-changed
(<https://github.com/armedbear/abcl/pull/78/files>) .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment