##// END OF EJS Templates
Remove qlot
naryl -
r52:42f15972 default
parent child Browse files
Show More
@@ -0,0 +1,4 b''
1
2 1. Install sbcl using your distribution's package manager, or download it from https://sbcl.org
3 2. Install quicklisp from https://quicklisp.org E.g. `wget https://beta.quicklisp.org/quicklisp.lisp && sbcl --load quicklisp.org` then follow instructions.
4 3. `make`
@@ -2,6 +2,7 b''
2 .qlot
2 .qlot
3 .html
3 .html
4 .png
4 .png
5 .orig
5 tests
6 tests
6 sugar-qsp
7 txt2web
7 sugar-qsp.tar.xz
8 txt2web.tar.xz
@@ -11,12 +11,6 b' graphs: diagrams.png'
11 $(BIN): *.asd src/*.lisp src/*.ps strings/*.sexp
11 $(BIN): *.asd src/*.lisp src/*.ps strings/*.sexp
12 sbcl --load build.lisp -- $(BIN)
12 sbcl --load build.lisp -- $(BIN)
13
13
14 install-deps:
15 sbcl --load install-deps.lisp
16
17 update-deps:
18 sbcl --load update-deps.lisp
19
20 %.png: %.dot
14 %.png: %.dot
21 dot $< -T png -o $@
15 dot $< -T png -o $@
22
16
@@ -27,13 +21,12 b' upload: $(DIST)'
27 curl --upload-file $(DIST) https://transfer.sh/$(DIST)
21 curl --upload-file $(DIST) https://transfer.sh/$(DIST)
28 @echo
22 @echo
29
23
30 distclean: clean clean-deps
31
32 clean:
24 clean:
33 rm -f $(BIN) $(DIST)
25 rm -f $(BIN) $(DIST)
34
26
35 clean-deps:
27 clean-cache:
36 -rm qlfile.lock
28 -rm -rf ~/.cache/common-lisp
37 -rm -rf .qlot
38
29
39 .PHONY: all graphs install-deps update-deps clean upload
30 fresh: clean clean-cache all
31
32 .PHONY: all graphs upload clean clean-cache fresh
@@ -1,10 +1,4 b''
1 (let ((root (asdf:system-source-directory :txt2web)))
1 (ql:quickload :txt2web)
2 (asdf:initialize-source-registry
3 `(:source-registry
4 :ignore-inherited-configuration
5 (:directory ,root)
6 (:tree ,(format nil "~A~A" root ".qlot/dists")))))
7
2
8 (asdf:load-system :txt2web)
9 (uiop:register-image-restore-hook 'txt2web::entry-point-no-args nil)
3 (uiop:register-image-restore-hook 'txt2web::entry-point-no-args nil)
10 (uiop:dump-image "txt2web" :executable t)
4 (uiop:dump-image "txt2web" :executable t)
@@ -212,9 +212,9 b''
212 ;;; "Syntax"
212 ;;; "Syntax"
213
213
214 (defun qspfor (name index from to step body)
214 (defun qspfor (name index from to step body)
215 (for ((i from))
215 (ps:for ((i from))
216 ((< i to))
216 ((< i to))
217 ((incf i step))
217 ((incf i step))
218 (set-var name index :num i)
218 (set-var name index :num i)
219 (unless (await (funcall body))
219 (unless (await (funcall body))
220 (return-from qspfor))))
220 (return-from qspfor))))
@@ -96,7 +96,7 b''
96 (flute:h
96 (flute:h
97 (html
97 (html
98 (head
98 (head
99 (title "SugarQSP"))
99 (title "txt2web"))
100 (body
100 (body
101 body-template
101 body-template
102 (style css)
102 (style css)
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now