-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
fizz.scroll
44 lines (32 loc) · 1.3 KB
/
fizz.scroll
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
import ../code/conceptPage.scroll
id fizz
name fizz
appeared 2017
tags pl
website https://f1zz.org/
conceptDescription fizz is an experimental language and runtime environment for the exploration of cognitive architectures and combined Machine Learning (ML) and Machine Reasoning (MR) solutions. It is based primarily on symbolic programming and fuzzy formal logic and it features a distributed (as in heterogeneous computer cluster), concurrent, asynchronous and responsive inference engine.
country United States
originCommunity https://f1zz.org
example
// Code ----------------------------------------------------------------------------------------------------------------------------------
is.tree { // test if a term is a valid binary tree
(nil)^ :- true;
(n(_,_,:l,:r))^ :- #is.tree(:l), #is.tree(:r);
(_) :- false;
}
btr.length { // how many nodes is there on a binary tree
(nil,0)^ :- true;
(n(_,_,:l,:r),:n) :- #btr.length(:l,:l.n),
#btr.length(:r,:r.n),
sum(:l.n,:r.n,1,:n);
}
lineCommentToken //
booleanTokens true false
hasLineComments true
// A comment
hasComments true
// A comment
hasSemanticIndentation false
hasBooleans true
domainName f1zz.org
registered 2017