-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathdiff_output.txt
More file actions
4297 lines (4297 loc) · 405 KB
/
diff_output.txt
File metadata and controls
4297 lines (4297 loc) · 405 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
diff --git a/static/locales/en-US/en-US-tutorial.json b/static/locales/en-US/en-US-tutorial.json
index def9e2e86..afe240042 100644
--- a/static/locales/en-US/en-US-tutorial.json
+++ b/static/locales/en-US/en-US-tutorial.json
@@ -1,20 +1,38 @@
{
"$schema": "../../schemas/Tutorial.json",
"language": "en",
- "regions": ["US"],
+ "regions": [
+ "US"
+ ],
"acts": [
{
"title": "The Verse",
- "performance": ["use", "fit", "DarkVoid"],
+ "performance": [
+ "use",
+ "fit",
+ "DarkVoid"
+ ],
"scenes": [
{
"title": "Silence",
"subtitle": null,
- "performance": ["use", "fit", "DarkVoid"],
+ "performance": [
+ "use",
+ "fit",
+ "DarkVoid"
+ ],
"lines": [
- ["FunctionDefinition", "bored", "… Oh, hi."],
+ [
+ "FunctionDefinition",
+ "bored",
+ "… Oh, hi."
+ ],
null,
- ["FunctionDefinition", "neutral", "Do I know you?"],
+ [
+ "FunctionDefinition",
+ "neutral",
+ "Do I know you?"
+ ],
null,
[
"FunctionDefinition",
@@ -134,9 +152,17 @@
"title": "Would you like a program?",
"subtitle": "Program",
"concept": "Program",
- "performance": ["use", "fit", "Symbol", "📄"],
+ "performance": [
+ "use",
+ "fit",
+ "Symbol",
+ "📄"
+ ],
"lines": [
- ["fit", "Phrase('📄' resting:Pose(rotation: 10°))"],
+ [
+ "fit",
+ "Phrase('📄' resting:Pose(rotation: 10°))"
+ ],
[
"FunctionDefinition",
"excited",
@@ -148,14 +174,20 @@
"Really!? Are you sure you're really a person? Say something a person would say."
],
null,
- ["fit", "Phrase('📄' entering: Sequence(spin() 1s))"],
+ [
+ "fit",
+ "Phrase('📄' entering: Sequence(spin() 1s))"
+ ],
[
"Program",
"serious",
"Hm… you really are a person. And you want to direct?"
],
null,
- ["fit", "Phrase('📄' resting: Pose(rotation: 010°))"],
+ [
+ "fit",
+ "Phrase('📄' resting: Pose(rotation: 010°))"
+ ],
[
"Program",
"excited",
@@ -173,7 +205,10 @@
"Okay. Well, nice to meet you. Sorry, I've just had a lot of people come here and say '/this isn't for me/', and I've gotten a bit skeptical of people who try for a bit and then just give up. I shouldn't have to change who I am to fit people's expectations. But if you're willing to learn about me, and us, let's try!"
],
null,
- ["edit", ""],
+ [
+ "edit",
+ ""
+ ],
[
"FunctionDefinition",
"neutral",
@@ -209,7 +244,12 @@
"See? I just showed your second phrase, not your first. You know you broke my rule because I underlined your first phrase and we told you that we'd be ignoring it."
],
null,
- ["use", "fit", "Symbol", "🎭"],
+ [
+ "use",
+ "fit",
+ "Symbol",
+ "🎭"
+ ],
[
"FunctionDefinition",
"excited",
@@ -243,7 +283,11 @@
"title": "Holding space",
"subtitle": "Placeholder",
"concept": "ExpressionPlaceholder",
- "performance": ["use", "fit", "DarkVoid"],
+ "performance": [
+ "use",
+ "fit",
+ "DarkVoid"
+ ],
"lines": [
[
"FunctionDefinition",
@@ -268,7 +312,11 @@
"kind",
"Yes, it's me. It's been so long. How are you?"
],
- ["ExpressionPlaceholder", "scared", "Lonely."],
+ [
+ "ExpressionPlaceholder",
+ "scared",
+ "Lonely."
+ ],
null,
[
"FunctionDefinition",
@@ -287,21 +335,33 @@
"I know. I have too. I'm so sorry.",
"That's actually why I'm here. I wanted to introduce you to our new director-in-training."
],
- ["ExpressionPlaceholder", "scared", "Hi."],
+ [
+ "ExpressionPlaceholder",
+ "scared",
+ "Hi."
+ ],
null,
[
"FunctionDefinition",
"kind",
"They just met @Program, so they're really at the beginning, but I was thinking that it might be best for them to meet you next, since you're such a wonderful representative of so many of us here."
],
- ["ExpressionPlaceholder", "curious", "…"],
+ [
+ "ExpressionPlaceholder",
+ "curious",
+ "…"
+ ],
null,
[
"FunctionDefinition",
"kind",
"Do you want to say what you do?"
],
- ["ExpressionPlaceholder", "scared", "Can you?"],
+ [
+ "ExpressionPlaceholder",
+ "scared",
+ "Can you?"
+ ],
null,
[
"FunctionDefinition",
@@ -309,7 +369,10 @@
"Sure! My friend @ExpressionPlaceholder is a placeholder. They represent any kind of expression in a program. They don't evaluate to any value in particular ΓÇö in fact, if they show up in @Program, @Program will just halt the performance, since it's not really clear what to do next."
],
null,
- ["conflict", "_"],
+ [
+ "conflict",
+ "_"
+ ],
[
"FunctionDefinition",
"kind",
@@ -323,13 +386,22 @@
"But if you click on @ExpressionPlaceholder, or move the text caret over it, you'll see a world of possibilities of other characters. You can also just type over @ExpressionPlaceholder and write your own. For example, try typing your name in quotes."
],
null,
- ["use", "fit", "Symbol", "-"],
+ [
+ "use",
+ "fit",
+ "Symbol",
+ "-"
+ ],
[
"FunctionDefinition",
"serious",
"Just like that, @ExpressionPlaceholder was replaced with other characters. Did I get everything, @ExpressionPlaceholder?"
],
- ["ExpressionPlaceholder", "eager", "Yeah. I think so."],
+ [
+ "ExpressionPlaceholder",
+ "eager",
+ "Yeah. I think so."
+ ],
null,
[
"FunctionDefinition",
@@ -342,7 +414,11 @@
"It was nice to meet you!"
],
null,
- ["use", "fit", "DarkVoid"],
+ [
+ "use",
+ "fit",
+ "DarkVoid"
+ ],
[
"FunctionDefinition",
"cheerful",
@@ -354,7 +430,12 @@
"title": "Say again?",
"subtitle": "Unparsable",
"concept": "UnparsableExpression",
- "performance": ["use", "fit", "Symbol", "ahkeolfewvk"],
+ "performance": [
+ "use",
+ "fit",
+ "Symbol",
+ "ahkeolfewvk"
+ ],
"lines": [
[
"FunctionDefinition",
@@ -367,7 +448,12 @@
"/dwjkdlserkuvisdke!/"
],
null,
- ["use", "fit", "Symbol", "c iise we dvk"],
+ [
+ "use",
+ "fit",
+ "Symbol",
+ "c iise we dvk"
+ ],
[
"FunctionDefinition",
"excited",
@@ -384,7 +470,12 @@
"(It sounds like they spent a lot of time on the beach. They made some new friends and practiced doing nothing.)"
],
null,
- ["use", "fit", "Symbol", "ivioas we wjjdks"],
+ [
+ "use",
+ "fit",
+ "Symbol",
+ "ivioas we wjjdks"
+ ],
[
"FunctionDefinition",
"excited",
@@ -401,7 +492,12 @@
"(They just said how awesome it is to meet you, and they think you'll be a great director.)"
],
null,
- ["use", "fit", "Symbol", "v s d we iweiwei"],
+ [
+ "use",
+ "fit",
+ "Symbol",
+ "v s d we iweiwei"
+ ],
[
"FunctionDefinition",
"neutral",
@@ -418,7 +514,10 @@
"(I represent everything that means nothing. And I mean nothing.)"
],
null,
- ["edit", ""],
+ [
+ "edit",
+ ""
+ ],
[
"UnparsableExpression",
"eager",
@@ -430,7 +529,10 @@
"(For example, try typing \\]\\. See how you can't type it without a conflict? If you're editing with blocks 🖱️, we won't let you type \\]\\, and if you're editing with text ⌨️, it creates a conflict.)"
],
null,
- ["conflict", "]"],
+ [
+ "conflict",
+ "]"
+ ],
[
"UnparsableExpression",
"eager",
@@ -442,7 +544,10 @@
"(When I show up, that means we don't know what you mean.)"
],
null,
- ["conflict", "]"],
+ [
+ "conflict",
+ "]"
+ ],
[
"FunctionDefinition",
"curious",
@@ -460,7 +565,10 @@
"kind",
"Soooo, @UnparsableExpression wants you to try making as many of them as possible. (You can just keysmash a bunch of random characters and probably get many of them)."
],
- ["edit", ""],
+ [
+ "edit",
+ ""
+ ],
null,
[
"UnparsableExpression",
@@ -472,9 +580,17 @@
"kind",
"They really enjoyed that, thanks! It's pretty hard to write something we truly can't make sense of. But it doesn't mean everything you write has meaning. I'm pretty sure you just typed a bunch of random words, for example. But what does it mean?"
],
- ["UnparsableExpression", "confused", "… /DDook/"],
+ [
+ "UnparsableExpression",
+ "confused",
+ "… /DDook/"
+ ],
null,
- ["UnparsableExpression", "happy", "/? ??? ????? ?!/"],
+ [
+ "UnparsableExpression",
+ "happy",
+ "/? ??? ????? ?!/"
+ ],
[
"FunctionDefinition",
"kind",
@@ -507,7 +623,11 @@
"excited",
"I'm so excited for you to meet @Evaluate. They're really my best friend. We kind of do everything together, in a way. I make the rules, they play them; we're like peanut butter and jelly. But they're so much more… powerful than me. @Evaluate?"
],
- ["Evaluate", "shy", "@FunctionDefinition?"],
+ [
+ "Evaluate",
+ "shy",
+ "@FunctionDefinition?"
+ ],
null,
[
"FunctionDefinition",
@@ -551,7 +671,11 @@
"serious",
"Never. I won't. I can't. I love you."
],
- ["Evaluate", "serious", "I love you…"],
+ [
+ "Evaluate",
+ "serious",
+ "I love you…"
+ ],
null,
[
"FunctionDefinition",
@@ -603,7 +727,11 @@
"And @FunctionDefinition, here, my sweet, dear @FunctionDefinition, is the one that defines all of them."
],
null,
- ["FunctionDefinition", "happy", "… @Evaluate…"],
+ [
+ "FunctionDefinition",
+ "happy",
+ "… @Evaluate…"
+ ],
[
"Evaluate",
"serious",
@@ -621,9 +749,15 @@
"serious",
"Every evaluate looks like this @UI/Evaluate: some function, followed by a left and right parenthesis, with any number of inputs between them. Here, I just have @ExpressionPlaceholder as the function and three more as placeholder inputs."
],
- ["conflict", "_(_ _ _)"],
+ [
+ "conflict",
+ "_(_ _ _)"
+ ],
null,
- ["edit", "Phrase('hello')"],
+ [
+ "edit",
+ "Phrase('hello')"
+ ],
[
"Evaluate",
"serious",
@@ -651,7 +785,10 @@
"See how when you do that, now I have a new input in me in the program? It's the @Phrase/size input. Functions have a certain order of inputs, but if a function has a list of optional inputs, you can use their name to specify which one you want to give. We give @Phrase/size here, but not any of the other optional inputs. Try changing another input with the palette, like maybe the font face."
],
null,
- ["conflict", "'hi'(1 2)"],
+ [
+ "conflict",
+ "'hi'(1 2)"
+ ],
[
"FunctionDefinition",
"happy",
@@ -663,21 +800,30 @@
"Oh, yes, that's a good idea. Lots can go wrong. For example, you could give me something that isn't a function. See how I'm given the text \\ΓÇ£hiΓÇ¥\\ here as a function and given me two inputs, \\1\\ and \\2\\ ? Well, I only know how to evaluate functions, and \\ΓÇ£hiΓÇ¥\\ isn't a function; it's text. That's very confusing to me, so I basically halt the performance if this happens."
],
null,
- ["conflict", "Phrase()"],
+ [
+ "conflict",
+ "Phrase()"
+ ],
[
"Evaluate",
"eager",
"Here's another one. @Phrase requires some text at the very least, so if you don't give me text, I won't be able to evaluate @Phrase because I'm missing required inputs."
],
null,
- ["conflict", "Phrase(1)"],
+ [
+ "conflict",
+ "Phrase(1)"
+ ],
[
"Evaluate",
"excited",
"Or if you give me an input, but it's not the kind I expect, that would be a problem. Here, @Phrase is given the number \\1\\ instead of a text value."
],
null,
- ["fit", "Stage([] background: 🌈(90% 100 0°))"],
+ [
+ "fit",
+ "Stage([] background: 🌈(90% 100 0°))"
+ ],
[
"Evaluate",
"curious",
@@ -715,12 +861,21 @@
},
{
"title": "It's the little things",
- "performance": ["use", "fit", "SimpleJiggle"],
+ "performance": [
+ "use",
+ "fit",
+ "SimpleJiggle"
+ ],
"scenes": [
{
"title": "Values",
"subtitle": null,
- "performance": ["use", "fit", "Symbol", "💡"],
+ "performance": [
+ "use",
+ "fit",
+ "Symbol",
+ "💡"
+ ],
"lines": [
[
"fit",
@@ -743,7 +898,10 @@
"… *Values*? Sorry, I know we're supposed to be on this big tour through the *Verse*. I just don't know what to do about @Evaluate. So… *values*. I haven't explained those yet, have I? Hm… how to explain… You know what 'data' is? Like numbers and text? Values are any of those things. A value could be as small as a number or as big as an entire scene on stage, full of characters dancing and moving. Some values are made of many other values, like big, elaborate structures of data values woven together."
],
null,
- ["fit", "Group(Stack() [Phrase('#') Phrase('\"\"')])"],
+ [
+ "fit",
+ "Group(Stack() [Phrase('#') Phrase('\"\"')])"
+ ],
[
"FunctionDefinition",
"neutral",
@@ -761,7 +919,12 @@
"*Expressions* are how we create values. All expressions are evaluations of functions that I make. The result of evaluating an expression is a value of some type."
],
null,
- ["use", "fit", "Symbol", "🤔"],
+ [
+ "use",
+ "fit",
+ "Symbol",
+ "🤔"
+ ],
[
"FunctionDefinition",
"serious",
@@ -782,7 +945,11 @@
"fit",
"Phrase('\"\"' resting:Sequence({0%: Pose(scale: 1) 50%: Pose(scale: 2 opacity: 0.5) 100%: Pose(scale: 1)} duration: 2s))"
],
- ["FunctionDefinition", "curious", "@Text?"],
+ [
+ "FunctionDefinition",
+ "curious",
+ "@Text?"
+ ],
[
"Text",
"happy",
@@ -817,7 +984,10 @@
"Why don't you try making a text in this blank @Program?",
"You can use whatever quotes you like — single \\''\\, double \\\"\"\\, angle \\«»\\, brackets \\「」\\ — in whatever language you like. The only rule is that if you start some text with an opening quote symbol, you must finish it with a closing one. Everything inside is the text value I will create!"
],
- ["edit", "''"],
+ [
+ "edit",
+ "''"
+ ],
null,
[
"Text",
@@ -832,23 +1002,35 @@
"serious",
"Excellent. Of course, 'inside' can be tricky. Say you wrote this. See how there's an opening quote but not a closing one? Well, how am I supposed to know when the text ends?"
],
- ["conflict", "'hello"],
+ [
+ "conflict",
+ "'hello"
+ ],
null,
[
"Text",
"surprised",
"Or, here's another case. You give me opening and closing text, but you place opening and closing text inside it. See how weird that is? I get very perplexed when you try to use the same symbols both inside and outside me. You can fix this by using different symbols for the outside, like a single quote."
],
- ["conflict", "'Hi there 'friend'"],
+ [
+ "conflict",
+ "'Hi there 'friend'"
+ ],
null,
- ["edit", "'friends!'/en-US"],
+ [
+ "edit",
+ "'friends!'/en-US"
+ ],
[
"Text",
"excited",
"Oh, and did you know you can tell me what language I am in? You just do a little slash and then a special language code, or if you like, a language and region."
],
null,
- ["edit", "'amigas'/es'friends!'/en-US"],
+ [
+ "edit",
+ "'amigas'/es'friends!'/en-US"
+ ],
[
"Text",
"excited",
@@ -857,7 +1039,10 @@
"You can try adding another translation. Just don't put any space between them or there'll be two of me!"
],
null,
- ["edit", "'I have 7 apples'"],
+ [
+ "edit",
+ "'I have 7 apples'"
+ ],
[
"Text",
"neutral",
@@ -870,7 +1055,10 @@
"serious",
"For example, did @FunctionDefinition show you how text knows how to add itself to other text? Like this: this little expression converts \\7\\ to text, adds it to \\'I have'\\, and then adds \\'apples'\\. But it's so untidy and makes it hard to read what's happening, and the conversion to text feels so unnecessary."
],
- ["edit", "'I have' + (7→'') + 'apples'"],
+ [
+ "edit",
+ "'I have' + (7→'') + 'apples'"
+ ],
null,
[
"Text",
@@ -883,14 +1071,20 @@
"Isn't that so much more elegant? You can put me anywhere inside a @Text, and I'll make your values into text and work with @Text to make a @Text.",
"This makes it so much easier to write beautiful prose that uses values."
],
- ["edit", "'I have \\7\\ apples'"],
+ [
+ "edit",
+ "'I have \\7\\ apples'"
+ ],
null,
[
"Text",
"neutral",
"And when I say any expression, I really do mean any. For example, imagine you wanted to do some arithmetic and created some text with the result. You might do this. This sums several numbers and then makes text with the sum. Truly wondrous, isn't it? And so much more graceful than \\'I have ' + (1 + 2 + 5 + 8) + ' apples'\\, with all those extra additions."
],
- ["edit", "'I have \\1 + 2 + 5 + 8\\ apples'"],
+ [
+ "edit",
+ "'I have \\1 + 2 + 5 + 8\\ apples'"
+ ],
null,
[
"Text",
@@ -905,7 +1099,11 @@
"\"I'm just \\\\regular\\\\ text, not a template.\""
],
null,
- ["use", "fit", "DarkVoid"],
+ [
+ "use",
+ "fit",
+ "DarkVoid"
+ ],
[
"FunctionDefinition",
"excited",
@@ -917,14 +1115,20 @@
"curious",
"And did our friend @FunctionDefinition here tell you about all of the wonderful functions they defined for me? They've allowed me to do all kinds of things. One is pretty simple: it's called @Text/length, and all it does is get the length of some text. For example, if we team up with @Evaluate here and our little friend @PropertyReference, we can evaluate the length function with no inputs and get the length value back. Try changing the text and watch the length that Program shows change as it gets shorter and longer."
],
- ["edit", "'hello'.length()"],
+ [
+ "edit",
+ "'hello'.length()"
+ ],
null,
[
"Text",
"happy",
"Here is another grand one. It makes me chuckle. It's called @Text/repeat and when it's evaluated, it takes whatever text it was evaluated on and repeats it however many times you say. Try changing the number and seeing what it evaluates to."
],
- ["edit", "'hello '.repeat(5)"],
+ [
+ "edit",
+ "'hello '.repeat(5)"
+ ],
null,
[
"Text",
@@ -957,7 +1161,12 @@
"])"
],
"lines": [
- ["use", "fit", "Symbol", "🥰"],
+ [
+ "use",
+ "fit",
+ "Symbol",
+ "🥰"
+ ],
[
"FunctionDefinition",
"happy",
@@ -969,49 +1178,70 @@
"neutral",
"For example, did you know they come in another form? You saw them in \\function()\\ form, but they also have this beautiful trick when a single input function is evaluated on a value. @Evaluate calls it @BinaryEvaluate. For example, you know that repeat function that text just showed you? It looked like this."
],
- ["edit", "'hi'.repeat(5)"],
+ [
+ "edit",
+ "'hi'.repeat(5)"
+ ],
null,
[
"FunctionDefinition",
"eager",
"Instead, you can have @Evaluate evaluate it with a much simpler symbol in the middle, like this. This means 'repeat 'hi' five times'. But it also means 'evaluate the \\┬╖\\ function on the text value \\'hi'\\ with the input \\5\\.' The function \\repeat\\ just has multiple names, one of which is a symbol name \\┬╖\\."
],
- ["edit", "'hi' ┬╖ 5"],
+ [
+ "edit",
+ "'hi' ┬╖ 5"
+ ],
null,
[
"FunctionDefinition",
"serious",
"That reminds me of another of @Text's functions! It's helpful for making one text value from multiple text values. It's called \\combine\\, but also \\+\\, and you can use it to add words together. See how I took a text value and then evaluated \\combine\\ on it with \\'verse'\\? That made \\'hello verse'\\."
],
- ["edit", "'hello '.combine('verse')"],
+ [
+ "edit",
+ "'hello '.combine('verse')"
+ ],
null,
[
"FunctionDefinition",
"serious",
"But it's so much easier to just use \\+\\ for this."
],
- ["edit", "'hello ' + ' verse'"],
+ [
+ "edit",
+ "'hello ' + ' verse'"
+ ],
null,
[
"FunctionDefinition",
"neutral",
"You can even string these together in a sequence to combine more than two things."
],
- ["edit", "'hello ' + 'verse' + '!'"],
+ [
+ "edit",
+ "'hello ' + 'verse' + '!'"
+ ],
null,
[
"FunctionDefinition",
"neutral",
"This is the same as a series of evaluations of combine, but without all of the parentheses and \\.\\ and a symbolic name instead of a word name."
],
- ["edit", "'hello '.combine('verse').combine('!')"],
+ [
+ "edit",
+ "'hello '.combine('verse').combine('!')"
+ ],
null,
[
"FunctionDefinition",
"neutral",
"You can also use the symbolic names in this format, but it just ends up looking kind of messy, doesn't it?"
],
- ["edit", "'hello '.+('verse').+('!')"],
+ [
+ "edit",
+ "'hello '.+('verse').+('!')"
+ ],
null,
[
"FunctionDefinition",
@@ -1019,7 +1249,10 @@
"This is one of the many ways that @Evaluate is amazing ΓÖÑ They are so versatile!",
"But they aren't perfect. With any @BinaryEvaluate, you need to always make sure to give a second input. This won't work, for example. One plus what? @UnparsableExpression won't be far away when this happens."
],
- ["conflict", "1 +"],
+ [
+ "conflict",
+ "1 +"
+ ],
null,
[
"FunctionDefinition",
@@ -1037,15 +1270,26 @@
"Group(Row() [Phrase('⊤') Phrase('⊥')] resting:Sequence({ 0%: Pose(rotation: 0°) 50%: Pose(rotation: 180°) 100%: Pose(rotation: 360°)} duration: 2s))"
],
"lines": [
- ["fit", "Stage([])"],
+ [
+ "fit",
+ "Stage([])"
+ ],
[
"FunctionDefinition",
"curious",
"\\⊤\\! \\⊥\\! Are you two around? They're usually all over the place, but I don't see them anywhere."
],
null,
- ["Γèñ", "precise", "Right here."],
- ["⊥", "precise", "Not there."],
+ [
+ "Γèñ",
+ "precise",
+ "Right here."
+ ],
+ [
+ "⊥",
+ "precise",
+ "Not there."
+ ],
[
"fit",
"multiple: 10",
@@ -1057,42 +1301,85 @@
"scared",
"Oh, you scared me! I knew you two wouldn't be far apart. How have you two been in our long silence?"
],
- ["Γèñ", "precise", "Very good!"],
- ["⊥", "precise", "Not bad."],
+ [
+ "Γèñ",
+ "precise",
+ "Very good!"
+ ],
+ [
+ "⊥",
+ "precise",
+ "Not bad."
+ ],
null,
[
"FunctionDefinition",
"curious",
"Not lonely? Everyone I've been talking to ΓÇö @Program, @ExpressionPlaceholder, @Evaluate ΓÇö they've all felt so isolated (Except for @UnparsableExpression; they seem to be fine almost anywhere)."
],
- ["Γèñ", "precise", "We have each other."],
- ["⊥", "precise", "We're not alone."],
- null,
[
- "FunctionDefinition",
- "happy",
- "Well, that's great to hear. It's good to be with you again. I wanted to introduce you to our new maybe-director. They've been meeting everyone, learning about how to put on performances with us. Do you want to tell them what you do?"
+ "Γèñ",
+ "precise",
+ "We have each other."
],
- ["Γèñ", "precise", "I am true."],
- ["⊥", "precise", "I am false."],
- null,
[
- "FunctionDefinition",
- "sad",
- "Yeah, but what do you do?"
+ "⊥",
+ "precise",
+ "We're not alone."
],
- ["Γèñ", "precise", "I am just true."],
- ["⊥", "precise", "And I am not true."],
null,
[
"FunctionDefinition",
- "sad",
+ "happy",
+ "Well, that's great to hear. It's good to be with you again. I wanted to introduce you to our new maybe-director. They've been meeting everyone, learning about how to put on performances with us. Do you want to tell them what you do?"
+ ],
+ [
+ "Γèñ",
+ "precise",
+ "I am true."
+ ],
+ [
+ "⊥",
+ "precise",
+ "I am false."
+ ],
+ null,
+ [
+ "FunctionDefinition",
+ "sad",
+ "Yeah, but what do you do?"
+ ],
+ [
+ "Γèñ",
+ "precise",
+ "I am just true."
+ ],
+ [
+ "⊥",
+ "precise",
+ "And I am not true."
+ ],
+ null,
+ [
+ "FunctionDefinition",
+ "sad",
"Hm. I guess that's true. But you do some things, right? I thought I made some functions for you."
],
- ["Γèñ", "precise", "Ah, yes, three."],
- ["⊥", "precise", "Not more, not less."],
+ [
+ "Γèñ",
+ "precise",
+ "Ah, yes, three."
+ ],
+ [
+ "⊥",
+ "precise",
+ "Not more, not less."
+ ],
null,
- ["edit", "(Γèñ & Γèñ) = Γèñ"],
+ [
+ "edit",
+ "(Γèñ & Γèñ) = Γèñ"
+ ],
[
"FunctionDefinition",
"neutral",
@@ -1114,7 +1401,10 @@
"(This is really helpful when trying to determine if multiple expressions are all true, because it's only true when everything is true)."
],
null,
- ["edit", "(⊤ | ⊤) = ⊥"],
+ [
+ "edit",
+ "(⊤ | ⊤) = ⊥"
+ ],
[
"FunctionDefinition",
"neutral",
@@ -1136,14 +1426,25 @@
"(This is really helpful when trying to determine if any expressions are true, because it's true when even just one is true)."
],
null,
- ["edit", "~⊤ = ⊥"],
+ [
+ "edit",
+ "~⊤ = ⊥"
+ ],
[
"FunctionDefinition",
"excited",
"But the other was @Boolean/not?"
],
- ["⊤", "precise", "Correct. \\~⊤ = ⊥\\."],
- ["⊥", "precise", "Not wrong. \\~⊥ = ⊤\\."],
+ [
+ "Γèñ",
+ "precise",
+ "Correct. \\~⊤ = ⊥\\."
+ ],
+ [
+ "⊥",
+ "precise",
+ "Not wrong. \\~⊥ = ⊤\\."
+ ],
[
"FunctionDefinition",
"neutral",
@@ -1160,8 +1461,16 @@
"curious",
"And what are you useful for in our performances?"
],
- ["Γèñ", "precise", "Ask @Conditional."],
- ["⊥", "precise", "Don't ask us."],
+ [
+ "Γèñ",
+ "precise",
+ "Ask @Conditional."
+ ],
+ [
+ "⊥",
+ "precise",
+ "Don't ask us."
+ ],
null,
[
"FunctionDefinition",
@@ -1179,8 +1488,16 @@
"curious",
"Oh! I was wondering. You two represent two really different extremes: true and false. But what about things that are … fuzzier? Like things that are kind of true or somewhat false, or maybe even true and false at the same time? Kind of like Earth looks flat but isn't, or the sky is blue, but color is actually just an illusion that our minds create? What should our director do if they want to express something like that?"
],
- ["⊤", "precise", "…"],
- ["⊥", "precise", "…"],
+ [
+ "Γèñ",
+ "precise",
+ "…"
+ ],
+ [
+ "⊥",
+ "precise",
+ "…"
+ ],
null,
[
"fit",
@@ -1197,17 +1514,36 @@
" offset:Place(0m (Time() ^ 2) ┬╖ -0.000025m/ms^2))",
" )))])"
],
- ["⊤", "precise", "… No."],
- ["⊥", "precise", "… No."],
+ [
+ "Γèñ",
+ "precise",
+ "… No."
+ ],
+ [
+ "⊥",
+ "precise",
+ "… No."
+ ],
null,
- ["fit", "Stage([])"],
+ [
+ "fit",
+ "Stage([])"
+ ],
[
"FunctionDefinition",
"serious",
"Hm, okay. It was worth a try! Maybe there are other ways to express these ideas I haven't thought of. Or maybe there are just limits to what data can represent… Will you two be okay if we go off and meet other expressions?"