-
Notifications
You must be signed in to change notification settings - Fork 0
/
start-λογικι-racket.scm
55 lines (26 loc) · 1.33 KB
/
start-λογικι-racket.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#lang racket
;; this is the bootstrap file for λογικι (LOGIKI)
;; Damien Mattei
;; 8/10/2018
;;(require racket/include)
(include "../library-FunctProg/syntactic-sugar.scm")
(include "../library-FunctProg/set.scm")
(include "../library-FunctProg/debug.scm")
(include "../library-FunctProg/racket/display-racket-scheme.scm")
(include "../library-FunctProg/array.scm") ;; TODO: use SRFI-25 instead, done in Scheme+
(include "../library-FunctProg/symbolic.scm")
(include "../library-FunctProg/simplify.scm")
(include "../library-FunctProg/binary-arithmetic.scm")
(include "../library-FunctProg/for.scm")
(include "../library-FunctProg/map.scm")
(include "../library-FunctProg/list.scm")
(include "../library-FunctProg/operation.scm")
(include "../library-FunctProg/display-formula.scm")
(include "../library-FunctProg/minterms.scm")
(include "logiki.scm")
; DrRacket does not like greek names in filenames
;(include "program-λογικι-2.8.scm")
;; test
;;(define λογικι #t)
;; (infix-symb-min-dnf '(or (and (not a) (not b) (not c) (not d)) (and (not a) (not b) (not c) d) (and (not a) (not b) c (not d)) (and (not a) b (not c) d) (and (not a) b c (not d)) (and (not a) b c d) (and a (not b) (not c) (not d)) (and a (not b) (not c) d) (and a (not b) c (not d)) (and c (not d))))
;; '((!b ^ !c) v (c ^ !d) v (!a ^ b ^ d))