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
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
gnembon
57b5bace32
added label to displayed shapes
2020-07-18 13:20:49 -03:00
gnembon
803f99e8f0
task types are reported properly.
2020-07-16 01:13:24 -03:00
gnembon
72ffc5b8b9
defined addition for maps prioritizing set operations.
2020-07-08 00:48:29 -03:00
gnembon
b9daf50236
added {} and [] notations, added new function of -> operator and retired element()
2020-06-28 23:04:14 -03:00
gnembon
73176ed6c3
docs
2020-06-23 09:38:46 -03:00
TheCatSaber
eddc638b88
Corrected grammar and use of parentheses ( #344 )
2020-06-22 09:11:26 -03:00
gnembon and Ghoulboy78
29a81d53d6
unix_time and convert_date ( #332 )
...
* very simple stuff
* added unix_date and imporved unix_time
* Update docs/scarpet/api/Auxiliary.md
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com >
* Update Full.md
* Dont 100% work, but It'll do untl I fix tomorrow
* works, I think
* changeing weekdays
* removing weird stuff I didnt mean to do
* previous commits
* moving to expression.java
because prof.gnembon said
* moving away from LazyFUnctions
cos gnembon doesn't like evaluating somewhere
* updating docs
* tweaks to dates
Co-authored-by: Ghoulboy78 <ghoulboy27@gmail.com >
2020-06-17 11:10:59 -03:00
gnembon
72e7ba5e7e
added optional player to print as target.
2020-06-14 23:48:26 -03:00
gnembon
cfe1b7d837
docs on time
2020-05-29 14:05:37 -03:00
gnembon
52cf599375
added task_dock
2020-05-10 17:24:35 -03:00
gnembon
15ac3edc19
clarifications around 'str'
2020-05-03 23:10:09 -03:00
Stypox
4da722f3e3
Add newline at end of file
...
To prevent concatenation problems
2020-04-08 08:10:05 +02:00
gnembon
153b04ed1c
'break' and 'continue' support for 'scan' and 'volume'
2020-03-23 14:14:25 -03:00
gnembon
d8abd3ac4c
note on break and continue
2020-03-23 00:13:46 -03:00
gnembon
3adc628e8f
added scarpet c_for loops
2020-03-23 00:10:50 -03:00
gnembon
78ee80248b
docs fixes
2020-03-18 02:00:17 -03:00
gnembon
b041e05b47
removed inspector
2020-03-17 10:14:36 -03:00
gnembon
d93a0dbdf4
moved scarpet docs to markdown files
2020-03-17 01:46:51 -03:00