Lines Matching refs:Toy
1 # Chapter 1: Toy Language and AST
7 This tutorial will be illustrated with a toy language that we’ll call “Toy”
8 (naming is hard...). Toy is a tensor-based language that allows you to define
12 of rank <= 2, and the only datatype in Toy is a 64-bit floating point type (aka
77 Proto 'multiply_transpose' @test/Examples/Toy/Ch1/ast.toy:4:1'
81 BinOp: * @test/Examples/Toy/Ch1/ast.toy:5:25
82 Call 'transpose' [ @test/Examples/Toy/Ch1/ast.toy:5:10
83 var: a @test/Examples/Toy/Ch1/ast.toy:5:20
85 Call 'transpose' [ @test/Examples/Toy/Ch1/ast.toy:5:25
86 var: b @test/Examples/Toy/Ch1/ast.toy:5:35
90 Proto 'main' @test/Examples/Toy/Ch1/ast.toy:8:1'
93 VarDecl a<> @test/Examples/Toy/Ch1/ast.toy:11:3
94 …3.000000e+00], <3>[ 4.000000e+00, 5.000000e+00, 6.000000e+00]] @test/Examples/Toy/Ch1/ast.toy:11:11
95 VarDecl b<2, 3> @test/Examples/Toy/Ch1/ast.toy:15:3
96 …0e+00, 3.000000e+00, 4.000000e+00, 5.000000e+00, 6.000000e+00] @test/Examples/Toy/Ch1/ast.toy:15:17
97 VarDecl c<> @test/Examples/Toy/Ch1/ast.toy:19:3
98 Call 'multiply_transpose' [ @test/Examples/Toy/Ch1/ast.toy:19:11
99 var: a @test/Examples/Toy/Ch1/ast.toy:19:30
100 var: b @test/Examples/Toy/Ch1/ast.toy:19:33
102 VarDecl d<> @test/Examples/Toy/Ch1/ast.toy:22:3
103 Call 'multiply_transpose' [ @test/Examples/Toy/Ch1/ast.toy:22:11
104 var: b @test/Examples/Toy/Ch1/ast.toy:22:30
105 var: a @test/Examples/Toy/Ch1/ast.toy:22:33
107 VarDecl e<> @test/Examples/Toy/Ch1/ast.toy:25:3
108 Call 'multiply_transpose' [ @test/Examples/Toy/Ch1/ast.toy:25:11
109 var: b @test/Examples/Toy/Ch1/ast.toy:25:30
110 var: c @test/Examples/Toy/Ch1/ast.toy:25:33
112 VarDecl f<> @test/Examples/Toy/Ch1/ast.toy:28:3
113 Call 'multiply_transpose' [ @test/Examples/Toy/Ch1/ast.toy:28:11
114 Call 'transpose' [ @test/Examples/Toy/Ch1/ast.toy:28:30
115 var: a @test/Examples/Toy/Ch1/ast.toy:28:40
117 var: c @test/Examples/Toy/Ch1/ast.toy:28:44
124 test/Examples/Toy/Ch1/ast.toy -emit=ast`.