altrisi
17249c3c77
Refactor code to use ListValue.wrap(Stream)
...
Simplifies code (improving readability) and unifies `Stream<Value>` to `ListValue` handling
2023-01-19 01:40:29 +01:00
altrisi
ab9f7992b7
Use Java's Math constants for Scarpet math constants
2022-10-16 14:33:38 +02:00
ch-yx
a38cd099f2
One-line fix for a minor bug about encoding ( #1368 )
2022-07-21 15:15:30 +02:00
altrisi
f18cfb09d2
Fix more warnings and do some small optimizations ( #1356 )
...
* Fix more warnings and do some small optimizations
* Fix more warnings in ValueConversions
* Clean up some decompiler names and fix an unnecessary transformation around commands
* Use (way) more compact data structure for slot map
* Minor tweaks
Such as map directly in the collector
* I hate vanilla javac
Revert map changes in latest commit
2022-05-27 19:43:45 +02:00
altrisi
a60bc386cb
Refactor Module into a single record type and fix system globals ( #1383 )
2022-05-17 20:11:49 +02:00
altrisi
b1c934da28
Fix a few IDE warnings ( #1345 )
2022-02-20 19:16:12 +01:00
gnembon
695b569977
remove instanceof NullValues fixes #1313
2022-02-06 00:18:42 +01:00
gnembon
7bd18a27e4
fixes #1113 boo
2021-11-27 20:29:16 +01:00
Ghoulboy
b935fadadf
Add bitwise operations to scarpet ( #1094 )
2021-11-09 23:55:54 +01:00
gnembon
4a580a5a42
clarify number
2021-10-11 06:19:24 -03:00
Alexis Tio
85464d8b95
Fixed number function not returning list length ( #1100 )
...
* Fixed number function not returning list length
* Fixed whitespace
2021-10-11 02:34:46 -03:00
gnembon
36df542072
lazy functions with set parameter sizes will report an error if no properly specced. Fixes #1064
2021-09-06 23:05:13 -03:00
gnembon
61052ea06d
remove limits from fact in favour of estimation. Fixes #1065
2021-08-19 09:59:35 -03:00
altrisi
7fb5e47da5
Use newer Java features in places where it makes sense and more ( #1009 )
2021-08-03 07:32:40 -03:00
altrisi
7ebc990ef6
Use pattern matching for instanceof ( #1019 )
2021-07-21 22:24:24 -03:00
altrisi
9d9844fd5d
Deprecate old boolean constructor and move existing usages
2021-05-24 11:41:24 +02:00
gnembon
deb4f78347
rotfl fixes #874
2021-05-21 23:08:33 -03:00
gnembon
451b35b6c5
% is a proper modulus operator, not reminder. #fixes 842, #fixes 843
2021-05-10 00:49:04 -03:00
gnembon
8d97ab26a9
script compile time optimizations.
2021-05-05 00:25:31 -03:00
gnembon
06c9aea326
tracking module integrity when module composition changes
2021-04-29 02:17:02 -03:00
Ghoulboy
1bc2dd94da
Adding b64 and json decoder and encoder functions ( #829 )
2021-04-26 21:21:35 -03:00
gnembon
e22474156b
maps unpack
2021-04-23 10:58:33 -03:00
gnembon
bed9e2c60a
docs
2021-04-23 01:20:42 -03:00
gnembon
74bd0bb81e
dont be lazy refactor
2021-04-22 20:37:48 -03:00
gnembon
a65d16c9ba
WIP unpacking of parameters.
2021-04-21 12:21:47 -03:00
gnembon
1a47f4333f
refactored file IO and zupport for sips
2021-03-20 06:22:23 -03:00
gnembon
eab24f7896
added reset_seed
2021-03-12 06:11:55 -04:00
gnembon
ece43b6213
functions returning integer result keep integer precision
2021-03-12 06:11:07 -04:00
gnembon
5a366cca9e
added subtype option for thrown exceptions
2021-03-09 19:32:51 -04:00
gnembon
d72a617290
added trace information to thrown exceptions and clean some of the docs
2021-03-09 04:57:23 -04:00
gnembon
d48f78ff7b
simplfy
2021-03-08 00:44:40 -04:00
gnembon
25eccc9569
Merge branch 'master' into more-throwables
2021-03-07 17:52:10 -04:00
gnembon
1ae358909b
true and false represent now proper boolean values, not just 0 and 1. All other previous arithmetic holds.
2021-03-02 23:33:51 -04:00
altrisi
44101ddd3d
Undeprecate and filter to user-defined
2021-03-02 14:26:05 +01:00
altrisi
516de37dd2
Deprecate try without id and therefore throw without id
2021-02-21 02:23:06 +01:00
altrisi
0b86ac1a87
Add multi-catch to try block
2021-02-21 01:52:55 +01:00
altrisi
86dabe0080
Add exception hierarchy
2021-02-21 00:57:37 +01:00
altrisi
a155494d11
Allow some exceptions to be handled
2021-02-19 19:54:41 +01:00
gnembon
35c288b03f
looping on nulls behaves like on empty lists.
2021-02-08 15:39:41 -04:00
altrisi
852139d936
Make split split lists in list of single elements list without delimiter
2021-01-14 02:58:05 +01:00
altrisi
49ffa4f109
Add new split functions
2021-01-11 19:46:39 +01:00
gnembon
f3f8c689a8
fixing incorrect default upper bound for slice. Fixes #657
2021-01-07 00:40:39 -04:00
gnembon
7bacea1810
range now handles better long long chains, as well as float values.
2020-12-13 06:29:42 -04:00
gnembon
07dce7bc2e
risky optimizations.
2020-11-27 02:30:10 -04:00
gnembon
b997fa0f9f
using ... todo, or ... wip and not implemented errors.
2020-11-21 21:36:47 -04:00
gnembon
14d3a1725b
shit, snap
2020-11-11 12:45:29 -04:00
gnembon
55643632ca
custom events, and low level event API
2020-11-11 02:06:45 -04:00
gnembon
7ccd46433a
entity load handler and rework of handling of events.
2020-10-30 22:59:27 -03:00
gnembon
15ac7a4621
entity actions
2020-10-29 11:26:59 -03:00
gnembon
6594b404bb
sleep close_call is too much - expression is sufficient since executes in the same context.
2020-10-24 22:35:58 -03:00