~kingcons/rascal

bb57d2b22caa1a0069d740a3d8569f593fd47985 — Brit Butler 11 months ago 545e577
Minor tweaks.
4 files changed, 10 insertions(+), 10 deletions(-)

M Makefile
M TODO.org
M src/protocol.lisp
M src/shell.lisp
M Makefile => Makefile +3 -3
@@ 1,6 1,6 @@
.PHONY: all app docs test clean
.PHONY: all app docs site test clean

all: app docs
all: app docs test

app:
	sbcl --eval "(ql:quickload :rascal)" \


@@ 17,7 17,7 @@ site:
	sbcl --non-interactive \
	     --eval "(ql:quickload :rascal)" \
	     --eval "(funcall 'rascal.docs:build-site)" \
         --quit
             --quit

test:
	sbcl --non-interactive \

M TODO.org => TODO.org +1 -1
@@ 1,6 1,6 @@
* rascal Tasks
** DONE - Figure out how to parse code (from files initially)
** TODO - Write an interpreter for lang-int
** DONE - Write an interpreter for lang-int
** TODO - Add a debugging aid for viewing the AST
** TODO - Wire up the interpreter and debugging aid to the CLI?
** TODO - Consider supporting a #!lang directive in parser/program metadata.

M src/protocol.lisp => src/protocol.lisp +5 -5
@@ 4,14 4,14 @@
(in-package :rascal.protocol)

(defsection @protocol (:title "The Compiler Protocol")
  "For purposes of testing and organizing the various iterations of
compiler passes that make up rascal, we will have some common structure here.
  "For purposes of organizing the various compiler passes that make up rascal,
we will have some common structure here.

First and foremost, there is a PROGRAM class that we will use to represent
parsed source fragments. Additionally, the *LANGUAGES* variable will keep
track of the subsets currently supported by the rascal suite. We also provide
a method LINT to validate a source program according to the language grammar
and a method INTERPRET to execute the program via a simple interpreter."
track of the sublanguages supported by the rascal suite. We also provide
a LINT method to validate a source program according to the language grammar
and an INTERPRET method to execute the program via a definitional interpreter."
  (*languages* variable)
  (program class)
  (metadata (accessor program))

M src/shell.lisp => src/shell.lisp +1 -1
@@ 37,7 37,7 @@ Rascal is powered under the hood by [clingon][clingon]."

(defun version/handler (command)
  (declare (ignore command))
  (let ((version (asdf:system-version (asdf:find-system :rascal))))
  (let ((version (asdf:component-version (asdf:find-system :rascal))))
    (format t "rascal version ~A~%" version)
    (exit)))