source: project/release/4/ersatz/trunk/ersatz.setup @ 31393

Last change on this file since 31393 was 31393, checked in by Ivan Raikov, 6 years ago

ersatz: added op-pad builtin

File size: 1.2 KB
Line 
1;;;; -*- Hen -*-
2
3(define (dynld-name fn)         
4  (make-pathname #f fn ##sys#load-dynamic-extension))   
5
6(define version 1.15)
7
8(use make)
9
10(make (
11       ("ersatz.grm.scm" ("ersatz.grm")
12        (run (csi -s ersatz.grm)))
13
14       ("ersatz.l" ("make-ersatz-lexer.scm")
15        (run (csi -n -e "'(include \"make-ersatz-lexer.scm\") (make-ersatz-lexer (open-output-file \"ersatz.l\"))'")))
16       
17       ("ersatz.l.scm" ("ersatz.l")
18        (run (csi -n -R silex
19                  -e "'(lex-tables \"ersatz.l\" \"default-ersatz-lexer-table\" \"ersatz.l.scm\" (quote counters) (quote line) (quote code))'")))
20
21       ((dynld-name "ersatz-lib") ("ersatz-lib.scm" "runtime.scm" "eval.scm" "parser.scm" "ersatz.grm.scm" "ersatz.l.scm")
22        (compile -O -d2 -S -s ersatz-lib.scm -j ersatz-lib))
23
24       ((dynld-name "ersatz-lib.import") ("ersatz-lib.import.scm")
25        (compile  -s ersatz-lib.import.scm))
26       )
27
28  (list (dynld-name "ersatz-lib")
29        (dynld-name "ersatz-lib.import"))
30  )
31
32
33(install-extension
34
35  ; Name of your extension:
36  'ersatz
37
38  ; Files to install for your extension:
39  `(,(dynld-name "ersatz-lib") ,(dynld-name "ersatz-lib.import") )
40
41  ; Assoc list with properties for your extension:
42  `((version ,version)
43    ))
Note: See TracBrowser for help on using the repository browser.