Commit Graph
137 Commits
Author SHA1 Message Date
gnembon 0be0fd1eff swap default variable values to null/undef 2022-02-01 01:25:47 +01:00
altrisi 9fb6ec91cb Minor improvements to scarpet annotation API (#1239) 2022-01-08 23:05:21 +01:00
Ghoulboy b935fadadf Add bitwise operations to scarpet (#1094) 2021-11-09 23:55:54 +01:00
altrisi 7486670918 Report stack traces through the logger (#1050) 2021-10-11 03:37:30 -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 572fc8573e fixes to handling of NBT tags. Fixes #1080 2021-09-04 23:44:45 -03:00
gnembon 6f80c7959e node optimizations should optimize only one argument depending on associativity. Fixes #1046 2021-08-22 22:51:23 -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
gnembon 35a97117fe annoying, fixes #963 2021-06-29 02:07:07 -03:00
gnembon d29adf3a48 whatever, Fixes #895 2021-06-11 03:41:44 -03:00
gnembon f21897fab1 added custom context to be used in optimization evaluations that should expose all programmers issues, while allowing reporting errors to the error snooping entity. Fixes #875 2021-05-22 01:21:20 -03:00
gnembon 1633cca07a better reporting 2021-05-05 01:23:17 -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
gnembon c476e814b4 better thread handling and removal of unused code. 2021-04-23 21:42:55 -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 9117d85c73 for 2021-04-04 19:45:08 -03:00
gnembon dafebffb5a Rewording since all extra semicolons are now stripped in tokenization stage. Fixes #771 2021-04-04 19:22:06 -03:00
gnembon eab24f7896 added reset_seed 2021-03-12 06:11:55 -04:00
altrisi a155494d11 Allow some exceptions to be handled 2021-02-19 19:54:41 +01:00
gnembon 07dce7bc2e risky optimizations. 2020-11-27 02:30:10 -04:00
gnembon 2a403c36c8 added deprecation warnings, fixes #568 2020-11-25 01:49:56 -04:00
gnembon 6f0faf991a expanded long arithmetic 2020-10-12 11:56:52 -03:00
gnembon e8b2060fb3 variable number of arguments for user defined functions. 2020-09-22 04:38:08 -03:00
gnembon cbe91b4759 unhandled throw() now reports as error. Fixes #446 2020-09-10 00:32:36 -03:00
gnembon 33f400e904 refactor 2020-09-09 16:19:12 -03:00
gnembon 59575ec607 refactor breaking up API and language defs 2020-09-09 15:37:03 -03:00
gnembon 34d548523d making language elements statically defined. 2020-09-09 14:23:58 -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
gnembon 2c7c7d9bc6 functions are now case sensitive. Modules are still case insensitive. 2020-07-28 00:04:22 -03:00
gnembon b9daf50236 added {} and [] notations, added new function of -> operator and retired element() 2020-06-28 23:04:14 -03:00
gnembon bb3ecb8a94 relaxes maps and lists notation 2020-06-21 02:07:24 -03:00
gnembonandGhoulboy78 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 47452b5b12 added marker lines and boxes with client synchro fixes. 2020-05-31 01:57:04 -03:00
gnembon 52cf599375 added task_dock 2020-05-10 17:24:35 -03:00
gnembon 56f8f17aaa tighten up function args for non-linear calls 2020-05-10 13:11:58 -03:00
gnembon 15ac3edc19 clarifications around 'str' 2020-05-03 23:10:09 -03:00
gnembon 5542a46b43 First, not second 2020-04-28 00:03:39 -03:00
gnembon 17b15b4893 refactor arg parsers 2020-04-16 23:30:05 -03:00
gnembon 66e361167d didn't treat appending to containers the same way for variables as well as for container lvalues. Fixes #209 2020-04-12 20:26:49 -03:00
gnembon bb0d856706 permissions and access of expression functions, fixes #157 2020-03-25 09:14:39 -03:00
gnembon 3adc628e8f added scarpet c_for loops 2020-03-23 00:10:50 -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
gnembon 5c9774f1d2 added feedback to event calling and fixed event registry
disabled ability to handle global events from player scoped apps
2020-02-25 01:29:21 -04:00
gnembon 2968f77ed0 affixed ROOT locale, should fix #151 2020-02-23 02:40:48 -04:00
gnembon 7a9ca6cebb Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2020-01-25 20:06:08 -04:00
gnembon e8c077a65d added structure renderer. 2020-01-25 20:05:52 -04:00