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
c9c1e5a4dc
Fix undef docs mentioning you can undef constant literals
...
Fuxes #1566
2023-01-20 19:00:47 +01:00
altrisi
005368c3d9
Typo fixing round
...
Light check over all scarpet docs
Resolves #1626 , resolves #1613 , resolves #1597 , some of the fixes are from these
2023-01-18 14:14:36 +01:00
rv3r
9a804d546c
Docs edit, noted double backslash requirement for some regex operators ( #1361 )
2022-04-04 10:26:06 +02:00
Crec0
eed64f224e
Minor Docs update ( #1214 )
2022-01-08 20:41:54 +01:00
Ghoulboy
b935fadadf
Add bitwise operations to scarpet ( #1094 )
2021-11-09 23:55:54 +01:00
gnembon
61052ea06d
remove limits from fact in favour of estimation. Fixes #1065
2021-08-19 09:59:35 -03:00
altrisi
97e69d347e
Change how resource type works, allow proper app and library installation ( #956 )
...
* Change how app store types work, allow proper app and library installation
* Add node for resources in dependencies and docs
* Fix NPE without `type`
* Fix docs trying to change location of app type resource
* Separate libraries and apps and add trash for them
* Update docs
* Create trash directory if it doesn't exist
2021-06-30 12:42:24 -03:00
gnembon
7a3ad7f0b8
fixed mixed messaging in docs about delete
2021-06-25 23:47:42 -03:00
gnembon
bf6fddd645
nitpick, fixes #922
2021-06-25 23:10:55 -03:00
Julian Wandhoven
05200ac944
Update Overview.md ( #855 )
2021-05-12 09:17:05 -03:00
replaceitem and gnembon
a343c5d9f2
Switch out l() syntax to [] in docs ( #851 )
...
* Switch out l() syntax to [] in docs
* Using map syntactic sugar as well.
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com >
2021-05-10 22:40:49 -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
7da009fe5b
docs on '...'. Addresses and fixes #833
2021-04-26 23:27:39 -03:00
gnembon
390c40ae74
little better place
2021-04-27 00:33:43 -03:00
Ghoulboy
1bc2dd94da
Adding b64 and json decoder and encoder functions ( #829 )
2021-04-26 21:21:35 -03:00
gnembon
c476e814b4
better thread handling and removal of unused code.
2021-04-23 21:42:55 -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
BisUmTo
58436fc022
More datapack examples ( #805 )
...
* Update Auxiliary.md
* Fixed players() TYPO
2021-04-13 08:55:58 -03:00
gnembon
3f372180e6
increased store for random seeds to 64k
2021-04-04 12:33:52 -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
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
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
replaceitem
ca4db433c1
Fixed slice() returning empty string when referring to last character ( #751 )
...
* Fixed slice() returning empty string when referring to last character
2021-03-01 22:10:49 -04:00
altrisi
ae70529f20
Mention error in docs
2021-02-21 02:50:49 +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
altrisi
0563590fe7
Document new split functions
2021-01-11 19:53:43 +01:00
gnembon
7ad6de64ff
slice can accept negative indices
2020-12-25 04:55:32 -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
063a1735a0
wording
2020-12-04 22:10:15 -04:00
gnembon
59b752e6c9
better messaging on handling of unknown functions. fixes #606
2020-12-04 22:02:01 -04:00
altrisi
5dfd956ba2
Only allow globals in clients, fix potential issue and mention in docs
2020-11-29 21:45:53 +01:00
gnembon
55643632ca
custom events, and low level event API
2020-11-11 02:06:45 -04: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
gnembon
1268af4131
Fixed threading and add shutdown control for threads via sleep
2020-10-24 22:18:02 -03:00
gnembon
183dd0293b
split has default behaviour with no delimiter present
2020-10-18 21:28:58 -03:00
gnembon
6f0faf991a
expanded long arithmetic
2020-10-12 11:56:52 -03:00
gnembon
c4c268b079
increased utility of string matching using '~'
2020-09-26 12:28:46 -03:00
gnembon
e8b2060fb3
variable number of arguments for user defined functions.
2020-09-22 04:38:08 -03:00
gnembon
7de132eb56
removed tail assumption of known number of function arguments. Added task_thread
2020-09-21 09:37:30 -03:00
gnembon
968ef0cd9f
numbers in scarpet better handle long type values.
...
If possible, numbers that can be represented as longs (seeds, etc) will be handled as longs but they will loose their longinness with a single arithmetic operation.
2020-08-21 00:47:19 -03:00
Sir_Gavith and James103
a322752549
Corrected while() documentation ( #400 )
...
* Corrected while() args
Added `expr` to the args of while() in the documentation
* Corrected while() args
Added `expr` to the args of while() in the documentation
* Update docs/scarpet/language/LoopsAndHigherOrderFunctions.md
Co-authored-by: James103 <37945304+James103@users.noreply.github.com >
Co-authored-by: James103 <37945304+James103@users.noreply.github.com >
2020-08-03 01:31:55 -03:00