Commit Graph

1869 Commits

Author SHA1 Message Date
Astrash
002da30fd5 Improve codegen readability 2023-09-11 19:09:08 +10:00
Astrash
e177c9e792 Codegen implementation stuff & typed AST nodes 2023-09-11 18:09:35 +10:00
Astrash
b1bfe00bf3 Implement function and variable codegen 2023-09-08 11:36:40 +10:00
Astrash
9a75ee78a1 Salvage TerraScript codegen code from dead laptop 2023-08-08 07:39:47 +00:00
Astrash
0e9cbd8e2f Initial terrascript 2 commit 2023-08-05 15:53:01 +10:00
Astrash
772675639e Better error handling + other changes 2023-07-29 20:29:16 +10:00
Astrash
13300861ee Parse precedence via grammar 2023-07-29 12:03:33 +10:00
Astrash
719b9a06f4 Simplify code 2023-07-29 08:57:43 +10:00
Astrash
f5b115e618 Formatting & name changes 2023-07-27 12:52:15 +10:00
Astrash
e1e4a63517 Add basic user defined function support 2023-07-27 11:27:15 +10:00
Astrash
0dc1492c4d Handle functions in scope 2023-07-25 14:08:09 +10:00
Astrash
a184fe40d0 Name changes 2023-07-24 18:52:54 +10:00
Astrash
f462b8198b Move inLoop flag to ScopeBuilder 2023-07-24 18:05:43 +10:00
Astrash
de3b213deb Refactor some parsing logic 2023-07-24 17:31:06 +10:00
Astrash
be444f75b7 Block -> executable 2023-07-24 17:30:37 +10:00
Astrash
d98238c262 Remove statement class 2023-07-23 19:33:17 +10:00
Astrash
8e96745a85 checkReturnType -> ensureReturnType 2023-07-23 19:17:50 +10:00
Astrash
802bce40c8 Move statement end handling to parseExpression 2023-07-23 19:17:08 +10:00
Astrash
76728fe593 More refactoring 2023-07-23 17:55:29 +10:00
Astrash
f3d1751c87 Terrascript refactor 2023-07-23 16:11:56 +10:00
Astrash
81e354f91c Use tectonic properly 2023-07-18 22:06:08 +10:00
Astrash
0e3a756011 Bump config-noise-function to v1.1.0 2023-07-18 14:29:54 +10:00
Astrash
02198e1b88 Implement distance sampler 2023-07-18 14:29:28 +10:00
Astrash
00aeb98419 Implement translation sampler 2023-07-18 14:27:36 +10:00
Astrash
1a784b51ac Implement expression normalizer sampler 2023-07-18 14:25:07 +10:00
Astrash
34c0895c1f Make metalist injection error more user friendly 2023-07-16 22:46:23 +10:00
Astrash
379fa601a3 Meta annotate LINEAR_HEIGHTMAP sampler 2023-07-16 17:04:51 +10:00
Astrash
fcbf51d80b Allow Range keys to be meta annotated 2023-07-16 11:51:51 +10:00
Astrash
3f3e2fe97c Reduce pipeline v2 caching 2023-06-20 09:57:43 +10:00
Astrash
a5cbce3667 Optimize cardinal rotations for RotateColorSampler 2023-06-14 12:07:37 +10:00
Astrash
d0591f292e Use primitive int over Integer 2023-06-14 11:15:25 +10:00
Astrash
5188477a6d Merge branch 'ver/6.3.0' into dev/img-lib 2023-05-02 14:21:31 +10:00
Astrash
58b743e6e8 Distance transform documentation 2023-05-02 14:15:20 +10:00
Astrash
9fa5307a60 Remove image sampler addon
The image sampler is implemented as the 'CHANNEL' sampler provided
directly by the library-image addon instead.
2023-05-02 13:41:42 +10:00
Astrash
b4ea09929c ColorUtil documentation 2023-05-02 13:37:22 +10:00
Astrash
09d847bc5a Add argb method to Channel class 2023-05-02 13:12:23 +10:00
Astrash
dacddef5d6 rgb -> argb 2023-05-02 13:04:23 +10:00
Astrash
3c593c7013 Fix method call 2023-05-02 13:03:13 +10:00
Astrash
36d0ef77fb Add image support addon for biome pipeline 2023-05-02 12:58:37 +10:00
Astrash
105be0c346 Implement color parsing from strings 2023-05-02 12:58:29 +10:00
Astrash
39d21fbe08 Implement channel noise sampler 2023-05-01 13:58:56 +10:00
Astrash
50fc589001 Move distance transform to appropriate package 2023-05-01 13:58:18 +10:00
Astrash
ffa55cb7a3 Implement premultiplication in ColorUtil 2023-05-01 13:57:07 +10:00
Astrash
ff0985bd31 Make imagelib MathUtil 2023-05-01 13:10:58 +10:00
Astrash
622fed96e5 Use colorsampler package name instead of sampler 2023-05-01 12:48:13 +10:00
Astrash
c219eff149 Implement distance transform sampler 2023-05-01 12:45:26 +10:00
Astrash
514e7065e2 Update image provider v2 readme 2023-05-01 12:02:53 +10:00
Astrash
2afcee28a6 Base key names on internal names 2023-03-01 13:39:09 +11:00
Astrash
6efff02c19 Implement stitched image support 2023-03-01 13:38:36 +11:00
Astrash
d3e0831d9e Use config type based image loading
Rename `path` key to `image`
2023-03-01 13:28:45 +11:00