Search
Saturday, 5th of October 2019, 22:30:00 UTC
22:50:28
arwn
i'm writing an expert system. currently the function i call to add rules is called with this syntax: `(add-rule (rule-if a and (not b) then c)` rule-if is a macro. how would i change the syntax to drop the parentheses from (not b) and check if there is a not before a or b?
22:50:59
arwn
rule-if: https://pastebin.com/raw/2zB6CcWu
22:53:40
no-defun-allowed
You would probably need to introduce some kind of "parser" since the position of keywords in the syntax changes now.
22:54:20
arwn
ok so i can't just hack it together.. that makes sense. I'll read up on writing a parser.
23:04:10
Bike
well if then and c are always one thing each, it would be pretty easy to parse, b is just all elements except the outer two on each side
23:05:41
arwn
well i'd like to have a and b be not-able
4:33:06
beach
Good morning everyone!
5:01:24
LdBeth
So I got a book printed in 1960's, the inner pages look so new that I'm too hesitate to open and read it
5:04:22
ck_
LdBeth: there's only one choice. A clean room, laminar flow, high precision optics.
5:10:02
LdBeth
It seems non can be satisified :d
6:22:16
ck_
LdBeth: only one alternative comes to mind: don your pocket protector and immerse yourself
7:30:14
Ober
(room 1) seems to hang forever
7:33:49
Ober
probably just a slime issue
7:42:48
adamm78
minion: registration, please?
7:42:49
minion
The URL https://gitlab.common-lisp.net/users/sign_in?secret=5be4c47a will be valid until 07:45 UTC.
7:53:19
no-defun-allowed
Ober: here I get a type error.
Sunday, 6th of October 2019, 10:30:00 UTC