gnembon
234c176670
small things
2025-02-19 11:13:31 +01:00
gnembon
14be0aef52
extract commonly used class from the Tokenizer
2025-02-16 18:57:19 +01:00
altrisi and manyrandomthings
5759e23794
Fix integers operation results being downcasted to floating point
...
Co-authored-by: manyrandomthings <42223559+manyrandomthings@users.noreply.github.com >
2023-05-05 00:14:28 +02:00
gnembon
c9b93e598a
added two argument while loop because duh?
2023-04-20 14:26:40 +02:00
altrisi
06bdbdaed2
Add arithmetic shift, use logic shift in current right shift ( #1670 )
...
* Add arithmetic shift, use logic shift in current
* State that the MSBs will be cleared to zero in logic right shift
2023-03-08 21:26:27 +01:00
altrisi
93bec37dac
Simplify and optimize bit roll operations
...
Suggested in #1666 , ran many testing to check it gives the same results
2023-03-08 13:24:37 +01:00
gnembon
146573803c
scarpet corountines idea
2023-02-22 02:33:03 +01:00
gnembon
277872b33c
warning cleanup
2023-02-08 21:13:15 +01:00
gnembon
fd93785fec
added nonnull assertions
2023-02-05 12:56:06 +01:00
gnembon
8f61271606
semi-auto cleanup
2023-02-04 13:26:21 +01:00
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