Commit Graph

215 Commits

Author SHA1 Message Date
Bartłomiej Pluta
175bea6e5c Create expression3 (logic 'and') and expression4 (logic 'or') precedence 2019-07-10 22:46:58 +02:00
Bartłomiej Pluta
3058293b7e Create expression2 precendence level (relation operators) 2019-07-10 22:39:22 +02:00
Bartłomiej Pluta
4018bcddc7 Create expression precendence level 2019-07-10 22:27:44 +02:00
Bartłomiej Pluta
1d573c8c80 Create term precendence level 2019-07-10 22:05:45 +02:00
Bartłomiej Pluta
29820fb2ee Create factor level 2019-07-10 22:00:01 +02:00
Bartłomiej Pluta
9dc8d5a650 Add lists to base items 2019-07-10 21:56:38 +02:00
Bartłomiej Pluta
ab990f3071 Create parser for chain (dot operator) 2019-07-10 21:31:02 +02:00
Bartłomiej Pluta
e31dab52f6 Create parsers for literals (atoms) 2019-07-10 21:23:45 +02:00
Bartłomiej Pluta
66554f6c37 Improve parser to contain name and subparsers 2019-07-10 20:53:36 +02:00
Bartłomiej Pluta
aefa8e8f3c Create simple calc as test draft 2019-07-10 20:14:05 +02:00
Bartłomiej Pluta
76eabbff0e Refactor LeftAssociativeOperatorNode 2019-07-10 17:02:18 +02:00
Bartłomiej Pluta
214eec0e7a Rename 'access.py' to 'operator.py' 2019-07-10 16:55:37 +02:00
Bartłomiej Pluta
88b245dc05 Make access node more generic 2019-07-10 16:51:11 +02:00
Bartłomiej Pluta
578141c7b8 Add support for evaluating BOOL and introduce basic logical operators as functions 2019-07-10 14:08:28 +02:00
Bartłomiej Pluta
9408c63e06 Add support for parsing BOOL to AST 2019-07-10 13:54:21 +02:00
Bartłomiej Pluta
26a2b27def Add new token: TokenType.BOOL 2019-07-10 13:50:16 +02:00
Bartłomiej Pluta
739610c663 Create standard library proof of concept 2019-07-10 13:23:40 +02:00
Bartłomiej Pluta
83ea3aaf0f Move types() function to tools module 2019-07-10 13:01:03 +02:00
Bartłomiej Pluta
a8e4700591 Fix types() function 2019-07-10 12:59:38 +02:00
Bartłomiej Pluta
9ea2202d14 Add call stack to RuntimeException based errors 2019-07-10 12:53:58 +02:00
Bartłomiej Pluta
d10df10282 Add call stack to fix 'return' statement issue 2019-07-10 12:21:07 +02:00
Bartłomiej Pluta
48638b832b Refactor signature builder 2019-07-10 11:41:19 +02:00
Bartłomiej Pluta
746c1bc568 Enable allTypes() for type specifiers 2019-07-10 11:34:25 +02:00
Bartłomiej Pluta
f6d1f91708 Enable allTypes() for argument definitions in functions 2019-07-10 11:29:00 +02:00
Bartłomiej Pluta
6fdc437a7f Refactor function definition evaluator 2019-07-10 11:11:21 +02:00
Bartłomiej Pluta
fd5c4532cc Add support for multiple types 2019-07-10 01:07:20 +02:00
Bartłomiej Pluta
c66d138782 Refactor ArgumentDefinitionNode parser 2019-07-10 00:45:17 +02:00
Bartłomiej Pluta
39eaa2b4d5 Enable varargs in signatures 2019-07-10 00:33:34 +02:00
Bartłomiej Pluta
99647df061 Add new token (dots = '...') 2019-07-10 00:06:17 +02:00
Bartłomiej Pluta
360b686a8f Rename TypedVariable to ArgumentDefinitionNode 2019-07-10 00:05:24 +02:00
Bartłomiej Pluta
e58282878a Allow to use types as keys in maps 2019-07-09 23:51:50 +02:00
Bartłomiej Pluta
ec0bd13377 Allow to use types as expressions 2019-07-09 23:43:17 +02:00
Bartłomiej Pluta
19aa0b4dc8 Fix ExtendEvaluator so that it can handle generic maps 2019-07-09 23:37:50 +02:00
Bartłomiej Pluta
c57be77bcc Fix checking attempts to access items outside the list 2019-07-09 23:27:53 +02:00
Bartłomiej Pluta
67d05c23be Clean environment factory method 2019-07-09 23:09:54 +02:00
Bartłomiej Pluta
89b147f1ce Move function utilities to 'function' package 2019-07-09 22:56:33 +02:00
Bartłomiej Pluta
1449eee363 Move matchers to type package 2019-07-09 22:53:10 +02:00
Bartłomiej Pluta
fe19ecc090 Move 'util' module 2019-07-09 22:43:36 +02:00
Bartłomiej Pluta
9cd7c219dc Move 'string' module and fix 'typeOf' function 2019-07-09 22:40:51 +02:00
Bartłomiej Pluta
0571e3f1e2 Move 'synth' module 2019-07-09 22:32:03 +02:00
Bartłomiej Pluta
2193cf27c8 Move 'sound' module 2019-07-09 22:23:28 +02:00
Bartłomiej Pluta
e3f9cb6551 Move 'iterable' module 2019-07-09 22:18:02 +02:00
Bartłomiej Pluta
82bc9997c8 Move 'system' module 2019-07-09 22:13:24 +02:00
Bartłomiej Pluta
ef99c4d6e2 Move 'note' module 2019-07-09 22:09:10 +02:00
Bartłomiej Pluta
b91cc46d44 Move 'mic' module 2019-07-09 22:04:07 +02:00
Bartłomiej Pluta
b4d5d11b84 Add new functions: 'concat', 'range' and 'Map' constructor 2019-07-09 20:54:56 +02:00
Bartłomiej Pluta
7d14b0cbe7 Enable iterating through the map 2019-07-09 20:10:27 +02:00
Bartłomiej Pluta
8f0346d476 Add properties to 'map' type 2019-07-09 19:23:55 +02:00
Bartłomiej Pluta
fc023f8a5d Create audio module which allows to play sound files 2019-07-09 19:13:01 +02:00
Bartłomiej Pluta
b786241f12 Enable checking duplicates in map 2019-07-09 18:54:44 +02:00