Skip to content

Commit

Permalink
readme cleanup, test princ, .travis debug builds with issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tgbugs committed Jun 9, 2019
1 parent 0076541 commit 48576d4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -4,9 +4,9 @@ sudo: required
env:
matrix:
- LISP=abcl
- LISP=ccl
- LISP=clisp
- LISP=cmucl
- LISP=ccl # sporadic issues fetching files, just restart
#- LISP=clisp # strange ...
#- LISP=cmucl # missing cim
- LISP=ecl
- LISP=sbcl

Expand Down
16 changes: 8 additions & 8 deletions README.org
Expand Up @@ -14,19 +14,19 @@ Racket style =#;= comments implemented as a dispatch macro.
(ql:quickload :datum-comments)
#+end_src

** Manual
** Manual install
Using =sbcl= as an example.
#+begin_src lisp
cat >> ~/.sbclrc
(asdf:quickload :datum-comments)
#+begin_src bash
git clone https://github.com/tgbugs/datum-comments.git
cat "(push (truename #p\"datum-comments\") asdf:*central-registry*)" >> ~/.sbclrc
sbcl --eval "(asdf:load-system :datum-comments) #;(i im a comment) (print 'hello)"
#+end_src

* Usage
Since comments are a fundamental part of a language datum-comments automatically
registers itself as a dispatch macro for the =#;= symbol.
To enable datum comments obtain the code from [[https://github.com/tgbugs/datum-comments]], or install via quicklisp (),
and then include it in the =:use= section of =defpackage= where you want to be able
to use datum comments, e.g. as
registers itself as a dispatch macro for the =#;= symbol. Install via one of the
methods above and then include =:datum-comments= in the =:use= section of
=defpackage= where you want to be able to use datum comments, e.g. as

#+begin_src lisp
(defpackage :my-package
Expand Down
4 changes: 2 additions & 2 deletions test/tests.lisp
Expand Up @@ -48,6 +48,6 @@ mauauauauauahahahaha
(two fish) ; woo!

(defun run-all-tests ()
(print "running tests, but if you got here then this was a success")
(print (format nil "got test value ~s" *test-value*))
(princ "running tests, but if you got here then this was a success")
(princ (format nil "~%got test value ~s~%~%" *test-value*))
t)

0 comments on commit 48576d4

Please sign in to comment.