summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2016-11-14 22:32:31 +0100
committerCsaba Hruska <csaba.hruska@gmail.com>2016-11-14 22:32:31 +0100
commit682b43ffef9e17c41fe03f14b965dda0c46c420a (patch)
tree6ece24ed7234e4a8025c04956636cb57d0da37a1
parentb4874356eb1c3f03dd3256aca94e20b158dcc8e6 (diff)
generate into separate folders for each language, generates folder hierarchy for haskell and purescript modules
-rw-r--r--ddl/Generate.hs28
-rw-r--r--ddl/out/LambdaCube.IR.java877
-rw-r--r--ddl/out/LambdaCube.Mesh.java79
-rw-r--r--ddl/out/LambdaCube.PipelineSchema.java59
-rw-r--r--ddl/out/LambdaCube.TypeInfo.java52
-rw-r--r--ddl/out/TestData.java103
-rw-r--r--ddl/out/cpp/LambdaCube.IR.cpp (renamed from ddl/out/LambdaCube.IR.cpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.IR.hpp (renamed from ddl/out/LambdaCube.IR.hpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.IR2.hpp (renamed from ddl/out/LambdaCube.IR2.hpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.Mesh.cpp (renamed from ddl/out/LambdaCube.Mesh.cpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.Mesh.hpp (renamed from ddl/out/LambdaCube.Mesh.hpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.Mesh2.hpp (renamed from ddl/out/LambdaCube.Mesh2.hpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.PipelineSchema.cpp (renamed from ddl/out/LambdaCube.PipelineSchema.cpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.PipelineSchema.hpp (renamed from ddl/out/LambdaCube.PipelineSchema.hpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.PipelineSchema2.hpp (renamed from ddl/out/LambdaCube.PipelineSchema2.hpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.TypeInfo.cpp (renamed from ddl/out/LambdaCube.TypeInfo.cpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.TypeInfo.hpp (renamed from ddl/out/LambdaCube.TypeInfo.hpp)0
-rw-r--r--ddl/out/cpp/LambdaCube.TypeInfo2.hpp (renamed from ddl/out/LambdaCube.TypeInfo2.hpp)0
-rw-r--r--ddl/out/cpp/TestData.cpp (renamed from ddl/out/TestData.cpp)0
-rw-r--r--ddl/out/cpp/TestData.hpp (renamed from ddl/out/TestData.hpp)0
-rw-r--r--ddl/out/cpp/TestData2.hpp (renamed from ddl/out/TestData2.hpp)0
-rw-r--r--ddl/out/csharp/LambdaCube.IR.cs (renamed from ddl/out/LambdaCube.IR.cs)0
-rw-r--r--ddl/out/csharp/LambdaCube.Mesh.cs (renamed from ddl/out/LambdaCube.Mesh.cs)0
-rw-r--r--ddl/out/csharp/LambdaCube.PipelineSchema.cs (renamed from ddl/out/LambdaCube.PipelineSchema.cs)0
-rw-r--r--ddl/out/csharp/LambdaCube.TypeInfo.cs (renamed from ddl/out/LambdaCube.TypeInfo.cs)0
-rw-r--r--ddl/out/csharp/TestData.cs (renamed from ddl/out/TestData.cs)0
-rw-r--r--ddl/out/haskell/LambdaCube/IR.hs (renamed from ddl/out/LambdaCube.IR.hs)0
-rw-r--r--ddl/out/haskell/LambdaCube/Mesh.hs (renamed from ddl/out/LambdaCube.Mesh.hs)0
-rw-r--r--ddl/out/haskell/LambdaCube/PipelineSchema.hs (renamed from ddl/out/LambdaCube.PipelineSchema.hs)0
-rw-r--r--ddl/out/haskell/LambdaCube/TypeInfo.hs (renamed from ddl/out/LambdaCube.TypeInfo.hs)0
-rw-r--r--ddl/out/haskell/TestData.hs (renamed from ddl/out/TestData.hs)0
-rw-r--r--ddl/out/purescript/LambdaCube/IR.purs (renamed from ddl/out/LambdaCube.IR.purs)0
-rw-r--r--ddl/out/purescript/LambdaCube/Mesh.purs (renamed from ddl/out/LambdaCube.Mesh.purs)0
-rw-r--r--ddl/out/purescript/LambdaCube/PipelineSchema.purs (renamed from ddl/out/LambdaCube.PipelineSchema.purs)0
-rw-r--r--ddl/out/purescript/LambdaCube/TypeInfo.purs (renamed from ddl/out/LambdaCube.TypeInfo.purs)0
-rw-r--r--ddl/out/purescript/TestData.purs (renamed from ddl/out/TestData.purs)0
-rw-r--r--ddl/out/swift/LambdaCube.IR.swift (renamed from ddl/out/LambdaCube.IR.swift)0
-rw-r--r--ddl/out/swift/LambdaCube.Mesh.swift (renamed from ddl/out/LambdaCube.Mesh.swift)0
-rw-r--r--ddl/out/swift/LambdaCube.PipelineSchema.swift (renamed from ddl/out/LambdaCube.PipelineSchema.swift)0
-rw-r--r--ddl/out/swift/LambdaCube.TypeInfo.swift (renamed from ddl/out/LambdaCube.TypeInfo.swift)0
-rw-r--r--ddl/out/swift/TestData.swift (renamed from ddl/out/TestData.swift)0
41 files changed, 15 insertions, 1183 deletions
diff --git a/ddl/Generate.hs b/ddl/Generate.hs
index 261c2e5..b276324 100644
--- a/ddl/Generate.hs
+++ b/ddl/Generate.hs
@@ -61,8 +61,15 @@ main = do
61 , "swiftType" @: swiftType aliasMap 61 , "swiftType" @: swiftType aliasMap
62 , "hasEnumConstructor" @: hasEnumConstructor 62 , "hasEnumConstructor" @: hasEnumConstructor
63 ] 63 ]
64
65 toPath a = flip map a $ \case
66 '.' -> '/'
67 c -> c
68
64 writeFileIfDiffer fname txt = doesFileExist fname >>= \case 69 writeFileIfDiffer fname txt = doesFileExist fname >>= \case
65 False -> writeFile fname txt 70 False -> do
71 createDirectoryIfMissing True $ takeDirectory fname
72 writeFile fname txt
66 True -> do 73 True -> do
67 oldTxt <- readFile fname 74 oldTxt <- readFile fname
68 case (lines oldTxt, lines txt) of 75 case (lines oldTxt, lines txt) of
@@ -70,17 +77,14 @@ main = do
70 _ -> removeFile fname >> writeFile fname txt 77 _ -> removeFile fname >> writeFile fname txt
71 78
72 -- Haskell 79 -- Haskell
73 either error (\x -> writeFileIfDiffer ("out/" ++ name ++ ".hs") $ LText.unpack x) $ dataHs >>= (\t -> eitherRenderWith mylib t env) 80 either error (\x -> writeFileIfDiffer ("out/haskell/" ++ toPath name ++ ".hs") $ LText.unpack x) $ dataHs >>= (\t -> eitherRenderWith mylib t env)
74 -- Purescript 81 -- Purescript
75 either error (\x -> writeFileIfDiffer ("out/" ++ name ++ ".purs") $ LText.unpack x) $ dataPs >>= (\t -> eitherRenderWith mylib t env) 82 either error (\x -> writeFileIfDiffer ("out/purescript/" ++ toPath name ++ ".purs") $ LText.unpack x) $ dataPs >>= (\t -> eitherRenderWith mylib t env)
76 -- C++ 83 -- C++
77 either error (\x -> writeFileIfDiffer ("out/" ++ name ++ "2.hpp") $ LText.unpack x) $ dataHpp2 >>= (\t -> eitherRenderWith mylib t env) 84 either error (\x -> writeFileIfDiffer ("out/cpp/" ++ name ++ "2.hpp") $ LText.unpack x) $ dataHpp2 >>= (\t -> eitherRenderWith mylib t env)
78 either error (\x -> writeFileIfDiffer ("out/" ++ name ++ ".hpp") $ LText.unpack x) $ dataHpp >>= (\t -> eitherRenderWith mylib t env) 85 either error (\x -> writeFileIfDiffer ("out/cpp/" ++ name ++ ".hpp") $ LText.unpack x) $ dataHpp >>= (\t -> eitherRenderWith mylib t env)
79 either error (\x -> writeFileIfDiffer ("out/" ++ name ++ ".cpp") $ LText.unpack x) $ dataCpp >>= (\t -> eitherRenderWith mylib t env) 86 either error (\x -> writeFileIfDiffer ("out/cpp/" ++ name ++ ".cpp") $ LText.unpack x) $ dataCpp >>= (\t -> eitherRenderWith mylib t env)
80 -- Java 87 -- Java
81 let toPath a = flip map a $ \case
82 '.' -> '/'
83 c -> c
84 forM_ [a | a@DataDef{} <- def {-TODO-}] $ \d -> do 88 forM_ [a | a@DataDef{} <- def {-TODO-}] $ \d -> do
85 let env = fromPairs 89 let env = fromPairs
86 [ "def" .= d 90 [ "def" .= d
@@ -89,12 +93,10 @@ main = do
89 , "imports" .= imports 93 , "imports" .= imports
90 ] 94 ]
91 fname = "out/java/" ++ toPath name ++ "/" ++ dataName d ++ ".java" 95 fname = "out/java/" ++ toPath name ++ "/" ++ dataName d ++ ".java"
92 dir = takeDirectory fname
93 createDirectoryIfMissing True dir
94 either error (\x -> writeFileIfDiffer fname $ LText.unpack x) $ dataJava >>= (\t -> eitherRenderWith mylib t env) 96 either error (\x -> writeFileIfDiffer fname $ LText.unpack x) $ dataJava >>= (\t -> eitherRenderWith mylib t env)
95 either error (\x -> writeFileIfDiffer ("out/java/" ++ toPath name ++ "/JSON.java") $ LText.unpack x) $ jsonJava >>= (\t -> eitherRenderWith mylib t env) 97 either error (\x -> writeFileIfDiffer ("out/java/" ++ toPath name ++ "/JSON.java") $ LText.unpack x) $ jsonJava >>= (\t -> eitherRenderWith mylib t env)
96 -- C# 98 -- C#
97 either error (\x -> writeFileIfDiffer ("out/" ++ name ++ ".cs") $ LText.unpack x) $ dataCs >>= (\t -> eitherRenderWith mylib t env) 99 either error (\x -> writeFileIfDiffer ("out/csharp/" ++ name ++ ".cs") $ LText.unpack x) $ dataCs >>= (\t -> eitherRenderWith mylib t env)
98 -- Swift 100 -- Swift
99 either error (\x -> writeFileIfDiffer ("out/" ++ name ++ ".swift") $ LText.unpack x) $ dataSwift >>= (\t -> eitherRenderWith mylib t env) 101 either error (\x -> writeFileIfDiffer ("out/swift/" ++ name ++ ".swift") $ LText.unpack x) $ dataSwift >>= (\t -> eitherRenderWith mylib t env)
100 mapM_ generate $ execWriter modules 102 mapM_ generate $ execWriter modules
diff --git a/ddl/out/LambdaCube.IR.java b/ddl/out/LambdaCube.IR.java
deleted file mode 100644
index b819bcb..0000000
--- a/ddl/out/LambdaCube.IR.java
+++ /dev/null
@@ -1,877 +0,0 @@
1// generated file, do not modify!
2// 2016-03-14T10:58:29.577511000000Z
3
4
5public class LambdaCube.IR {
6 public class ArrayValue {
7 public enum Tag {
8 VBoolArray,
9 VIntArray,
10 VWordArray,
11 VFloatArray
12 }
13 public Tag tag;
14
15 public class VBoolArray extends ArrayValue {
16 public ArrayList<Boolean> _0;
17 }
18 public class VIntArray extends ArrayValue {
19 public ArrayList<Integer> _0;
20 }
21 public class VWordArray extends ArrayValue {
22 public ArrayList<Integer> _0;
23 }
24 public class VFloatArray extends ArrayValue {
25 public ArrayList<Float> _0;
26 }
27 }
28
29 public class Value {
30 public enum Tag {
31 VBool,
32 VV2B,
33 VV3B,
34 VV4B,
35 VWord,
36 VV2U,
37 VV3U,
38 VV4U,
39 VInt,
40 VV2I,
41 VV3I,
42 VV4I,
43 VFloat,
44 VV2F,
45 VV3F,
46 VV4F,
47 VM22F,
48 VM23F,
49 VM24F,
50 VM32F,
51 VM33F,
52 VM34F,
53 VM42F,
54 VM43F,
55 VM44F
56 }
57 public Tag tag;
58
59 public class VBool extends Value {
60 public Boolean _0;
61 }
62 public class VV2B extends Value {
63 public int _0;
64 }
65 public class VV3B extends Value {
66 public int _0;
67 }
68 public class VV4B extends Value {
69 public int _0;
70 }
71 public class VWord extends Value {
72 public Integer _0;
73 }
74 public class VV2U extends Value {
75 public int _0;
76 }
77 public class VV3U extends Value {
78 public int _0;
79 }
80 public class VV4U extends Value {
81 public int _0;
82 }
83 public class VInt extends Value {
84 public Integer _0;
85 }
86 public class VV2I extends Value {
87 public int _0;
88 }
89 public class VV3I extends Value {
90 public int _0;
91 }
92 public class VV4I extends Value {
93 public int _0;
94 }
95 public class VFloat extends Value {
96 public Float _0;
97 }
98 public class VV2F extends Value {
99 public int _0;
100 }
101 public class VV3F extends Value {
102 public int _0;
103 }
104 public class VV4F extends Value {
105 public int _0;
106 }
107 public class VM22F extends Value {
108 public int _0;
109 }
110 public class VM23F extends Value {
111 public int _0;
112 }
113 public class VM24F extends Value {
114 public int _0;
115 }
116 public class VM32F extends Value {
117 public int _0;
118 }
119 public class VM33F extends Value {
120 public int _0;
121 }
122 public class VM34F extends Value {
123 public int _0;
124 }
125 public class VM42F extends Value {
126 public int _0;
127 }
128 public class VM43F extends Value {
129 public int _0;
130 }
131 public class VM44F extends Value {
132 public int _0;
133 }
134 }
135
136 public class InputType {
137 public enum Tag {
138 Bool,
139 V2B,
140 V3B,
141 V4B,
142 Word,
143 V2U,
144 V3U,
145 V4U,
146 Int,
147 V2I,
148 V3I,
149 V4I,
150 Float,
151 V2F,
152 V3F,
153 V4F,
154 M22F,
155 M23F,
156 M24F,
157 M32F,
158 M33F,
159 M34F,
160 M42F,
161 M43F,
162 M44F,
163 STexture1D,
164 STexture2D,
165 STextureCube,
166 STexture1DArray,
167 STexture2DArray,
168 STexture2DRect,
169 FTexture1D,
170 FTexture2D,
171 FTexture3D,
172 FTextureCube,
173 FTexture1DArray,
174 FTexture2DArray,
175 FTexture2DMS,
176 FTexture2DMSArray,
177 FTextureBuffer,
178 FTexture2DRect,
179 ITexture1D,
180 ITexture2D,
181 ITexture3D,
182 ITextureCube,
183 ITexture1DArray,
184 ITexture2DArray,
185 ITexture2DMS,
186 ITexture2DMSArray,
187 ITextureBuffer,
188 ITexture2DRect,
189 UTexture1D,
190 UTexture2D,
191 UTexture3D,
192 UTextureCube,
193 UTexture1DArray,
194 UTexture2DArray,
195 UTexture2DMS,
196 UTexture2DMSArray,
197 UTextureBuffer,
198 UTexture2DRect
199 }
200 public Tag tag;
201
202 }
203
204 public class PointSpriteCoordOrigin {
205 public enum Tag {
206 LowerLeft,
207 UpperLeft
208 }
209 public Tag tag;
210
211 }
212
213 public class PointSize {
214 public enum Tag {
215 PointSize,
216 ProgramPointSize
217 }
218 public Tag tag;
219
220 public class PointSize extends PointSize {
221 public Float _0;
222 }
223 }
224
225 public class PolygonOffset {
226 public enum Tag {
227 NoOffset,
228 Offset
229 }
230 public Tag tag;
231
232 public class Offset extends PolygonOffset {
233 public Float _0;
234 public Float _1;
235 }
236 }
237
238 public class FrontFace {
239 public enum Tag {
240 CCW,
241 CW
242 }
243 public Tag tag;
244
245 }
246
247 public class PolygonMode {
248 public enum Tag {
249 PolygonPoint,
250 PolygonLine,
251 PolygonFill
252 }
253 public Tag tag;
254
255 public class PolygonPoint extends PolygonMode {
256 public PointSize _0;
257 }
258 public class PolygonLine extends PolygonMode {
259 public Float _0;
260 }
261 }
262
263 public class ProvokingVertex {
264 public enum Tag {
265 FirstVertex,
266 LastVertex
267 }
268 public Tag tag;
269
270 }
271
272 public class CullMode {
273 public enum Tag {
274 CullNone,
275 CullFront,
276 CullBack
277 }
278 public Tag tag;
279
280 public class CullFront extends CullMode {
281 public FrontFace _0;
282 }
283 public class CullBack extends CullMode {
284 public FrontFace _0;
285 }
286 }
287
288 public class ComparisonFunction {
289 public enum Tag {
290 Never,
291 Less,
292 Equal,
293 Lequal,
294 Greater,
295 Notequal,
296 Gequal,
297 Always
298 }
299 public Tag tag;
300
301 }
302
303 public class StencilOperation {
304 public enum Tag {
305 OpZero,
306 OpKeep,
307 OpReplace,
308 OpIncr,
309 OpIncrWrap,
310 OpDecr,
311 OpDecrWrap,
312 OpInvert
313 }
314 public Tag tag;
315
316 }
317
318 public class BlendEquation {
319 public enum Tag {
320 FuncAdd,
321 FuncSubtract,
322 FuncReverseSubtract,
323 Min,
324 Max
325 }
326 public Tag tag;
327
328 }
329
330 public class BlendingFactor {
331 public enum Tag {
332 Zero,
333 One,
334 SrcColor,
335 OneMinusSrcColor,
336 DstColor,
337 OneMinusDstColor,
338 SrcAlpha,
339 OneMinusSrcAlpha,
340 DstAlpha,
341 OneMinusDstAlpha,
342 ConstantColor,
343 OneMinusConstantColor,
344 ConstantAlpha,
345 OneMinusConstantAlpha,
346 SrcAlphaSaturate
347 }
348 public Tag tag;
349
350 }
351
352 public class LogicOperation {
353 public enum Tag {
354 Clear,
355 And,
356 AndReverse,
357 Copy,
358 AndInverted,
359 Noop,
360 Xor,
361 Or,
362 Nor,
363 Equiv,
364 Invert,
365 OrReverse,
366 CopyInverted,
367 OrInverted,
368 Nand,
369 Set
370 }
371 public Tag tag;
372
373 }
374
375 public class StencilOps {
376 public enum Tag {
377 StencilOps
378 }
379 public Tag tag;
380
381 public class StencilOps extends StencilOps {
382 public StencilOperation frontStencilOp;
383 public StencilOperation backStencilOp;
384 }
385 }
386
387 public class StencilTest {
388 public enum Tag {
389 StencilTest
390 }
391 public Tag tag;
392
393 public class StencilTest extends StencilTest {
394 public ComparisonFunction stencilComparision;
395 public Integer stencilReference;
396 public Integer stencilMask;
397 }
398 }
399
400 public class StencilTests {
401 public enum Tag {
402 StencilTests
403 }
404 public Tag tag;
405
406 public class StencilTests extends StencilTests {
407 public StencilTest _0;
408 public StencilTest _1;
409 }
410 }
411
412 public class FetchPrimitive {
413 public enum Tag {
414 Points,
415 Lines,
416 Triangles,
417 LinesAdjacency,
418 TrianglesAdjacency
419 }
420 public Tag tag;
421
422 }
423
424 public class OutputPrimitive {
425 public enum Tag {
426 TrianglesOutput,
427 LinesOutput,
428 PointsOutput
429 }
430 public Tag tag;
431
432 }
433
434 public class ColorArity {
435 public enum Tag {
436 Red,
437 RG,
438 RGB,
439 RGBA
440 }
441 public Tag tag;
442
443 }
444
445 public class Blending {
446 public enum Tag {
447 NoBlending,
448 BlendLogicOp,
449 Blend
450 }
451 public Tag tag;
452
453 public class BlendLogicOp extends Blending {
454 public LogicOperation _0;
455 }
456 public class Blend extends Blending {
457 public BlendEquation colorEqSrc;
458 public BlendEquation alphaEqSrc;
459 public BlendingFactor colorFSrc;
460 public BlendingFactor colorFDst;
461 public BlendingFactor alphaFSrc;
462 public BlendingFactor alphaFDst;
463 public int color;
464 }
465 }
466
467 public class RasterContext {
468 public enum Tag {
469 PointCtx,
470 LineCtx,
471 TriangleCtx
472 }
473 public Tag tag;
474
475 public class PointCtx extends RasterContext {
476 public PointSize _0;
477 public Float _1;
478 public PointSpriteCoordOrigin _2;
479 }
480 public class LineCtx extends RasterContext {
481 public Float _0;
482 public ProvokingVertex _1;
483 }
484 public class TriangleCtx extends RasterContext {
485 public CullMode _0;
486 public PolygonMode _1;
487 public PolygonOffset _2;
488 public ProvokingVertex _3;
489 }
490 }
491
492 public class FragmentOperation {
493 public enum Tag {
494 DepthOp,
495 StencilOp,
496 ColorOp
497 }
498 public Tag tag;
499
500 public class DepthOp extends FragmentOperation {
501 public ComparisonFunction _0;
502 public Boolean _1;
503 }
504 public class StencilOp extends FragmentOperation {
505 public StencilTests _0;
506 public StencilOps _1;
507 public StencilOps _2;
508 }
509 public class ColorOp extends FragmentOperation {
510 public Blending _0;
511 public Value _1;
512 }
513 }
514
515 public class AccumulationContext {
516 public enum Tag {
517 AccumulationContext
518 }
519 public Tag tag;
520
521 public class AccumulationContext extends AccumulationContext {
522 public int accViewportName;
523 public ArrayList<FragmentOperation> accOperations;
524 }
525 }
526
527 public class TextureDataType {
528 public enum Tag {
529 FloatT,
530 IntT,
531 WordT,
532 ShadowT
533 }
534 public Tag tag;
535
536 public class FloatT extends TextureDataType {
537 public ColorArity _0;
538 }
539 public class IntT extends TextureDataType {
540 public ColorArity _0;
541 }
542 public class WordT extends TextureDataType {
543 public ColorArity _0;
544 }
545 }
546
547 public class TextureType {
548 public enum Tag {
549 Texture1D,
550 Texture2D,
551 Texture3D,
552 TextureCube,
553 TextureRect,
554 Texture2DMS,
555 TextureBuffer
556 }
557 public Tag tag;
558
559 public class Texture1D extends TextureType {
560 public TextureDataType _0;
561 public Integer _1;
562 }
563 public class Texture2D extends TextureType {
564 public TextureDataType _0;
565 public Integer _1;
566 }
567 public class Texture3D extends TextureType {
568 public TextureDataType _0;
569 }
570 public class TextureCube extends TextureType {
571 public TextureDataType _0;
572 }
573 public class TextureRect extends TextureType {
574 public TextureDataType _0;
575 }
576 public class Texture2DMS extends TextureType {
577 public TextureDataType _0;
578 public Integer _1;
579 public Integer _2;
580 public Boolean _3;
581 }
582 public class TextureBuffer extends TextureType {
583 public TextureDataType _0;
584 }
585 }
586
587 public class MipMap {
588 public enum Tag {
589 Mip,
590 NoMip,
591 AutoMip
592 }
593 public Tag tag;
594
595 public class Mip extends MipMap {
596 public Integer _0;
597 public Integer _1;
598 }
599 public class AutoMip extends MipMap {
600 public Integer _0;
601 public Integer _1;
602 }
603 }
604
605 public class Filter {
606 public enum Tag {
607 Nearest,
608 Linear,
609 NearestMipmapNearest,
610 NearestMipmapLinear,
611 LinearMipmapNearest,
612 LinearMipmapLinear
613 }
614 public Tag tag;
615
616 }
617
618 public class EdgeMode {
619 public enum Tag {
620 Repeat,
621 MirroredRepeat,
622 ClampToEdge,
623 ClampToBorder
624 }
625 public Tag tag;
626
627 }
628
629 public class ImageSemantic {
630 public enum Tag {
631 Depth,
632 Stencil,
633 Color
634 }
635 public Tag tag;
636
637 }
638
639 public class ImageRef {
640 public enum Tag {
641 TextureImage,
642 Framebuffer
643 }
644 public Tag tag;
645
646 public class TextureImage extends ImageRef {
647 public Integer _0;
648 public Integer _1;
649 public int _2;
650 }
651 public class Framebuffer extends ImageRef {
652 public ImageSemantic _0;
653 }
654 }
655
656 public class ClearImage {
657 public enum Tag {
658 ClearImage
659 }
660 public Tag tag;
661
662 public class ClearImage extends ClearImage {
663 public ImageSemantic imageSemantic;
664 public Value clearValue;
665 }
666 }
667
668 public class Command {
669 public enum Tag {
670 SetRasterContext,
671 SetAccumulationContext,
672 SetRenderTarget,
673 SetProgram,
674 SetSamplerUniform,
675 SetTexture,
676 SetSampler,
677 RenderSlot,
678 RenderStream,
679 ClearRenderTarget,
680 GenerateMipMap,
681 SaveImage,
682 LoadImage
683 }
684 public Tag tag;
685
686 public class SetRasterContext extends Command {
687 public RasterContext _0;
688 }
689 public class SetAccumulationContext extends Command {
690 public AccumulationContext _0;
691 }
692 public class SetRenderTarget extends Command {
693 public Integer _0;
694 }
695 public class SetProgram extends Command {
696 public Integer _0;
697 }
698 public class SetSamplerUniform extends Command {
699 public String _0;
700 public Integer _1;
701 }
702 public class SetTexture extends Command {
703 public Integer _0;
704 public Integer _1;
705 }
706 public class SetSampler extends Command {
707 public Integer _0;
708 public int _1;
709 }
710 public class RenderSlot extends Command {
711 public Integer _0;
712 }
713 public class RenderStream extends Command {
714 public Integer _0;
715 }
716 public class ClearRenderTarget extends Command {
717 public ArrayList<ClearImage> _0;
718 }
719 public class GenerateMipMap extends Command {
720 public Integer _0;
721 }
722 public class SaveImage extends Command {
723 public Integer _0;
724 public ImageRef _1;
725 }
726 public class LoadImage extends Command {
727 public ImageRef _0;
728 public Integer _1;
729 }
730 }
731
732 public class SamplerDescriptor {
733 public enum Tag {
734 SamplerDescriptor
735 }
736 public Tag tag;
737
738 public class SamplerDescriptor extends SamplerDescriptor {
739 public EdgeMode samplerWrapS;
740 public int samplerWrapT;
741 public int samplerWrapR;
742 public Filter samplerMinFilter;
743 public Filter samplerMagFilter;
744 public Value samplerBorderColor;
745 public int samplerMinLod;
746 public int samplerMaxLod;
747 public Float samplerLodBias;
748 public int samplerCompareFunc;
749 }
750 }
751
752 public class TextureDescriptor {
753 public enum Tag {
754 TextureDescriptor
755 }
756 public Tag tag;
757
758 public class TextureDescriptor extends TextureDescriptor {
759 public TextureType textureType;
760 public Value textureSize;
761 public ImageSemantic textureSemantic;
762 public SamplerDescriptor textureSampler;
763 public Integer textureBaseLevel;
764 public Integer textureMaxLevel;
765 }
766 }
767
768 public class Parameter {
769 public enum Tag {
770 Parameter
771 }
772 public Tag tag;
773
774 public class Parameter extends Parameter {
775 public String name;
776 public InputType ty;
777 }
778 }
779
780 public class Program {
781 public enum Tag {
782 Program
783 }
784 public Tag tag;
785
786 public class Program extends Program {
787 public HashMap<String, InputType> programUniforms;
788 public HashMap<String, Parameter> programStreams;
789 public HashMap<String, InputType> programInTextures;
790 public ArrayList<Parameter> programOutput;
791 public String vertexShader;
792 public int geometryShader;
793 public String fragmentShader;
794 }
795 }
796
797 public class Slot {
798 public enum Tag {
799 Slot
800 }
801 public Tag tag;
802
803 public class Slot extends Slot {
804 public String slotName;
805 public HashMap<String, InputType> slotStreams;
806 public HashMap<String, InputType> slotUniforms;
807 public FetchPrimitive slotPrimitive;
808 public ArrayList<Integer> slotPrograms;
809 }
810 }
811
812 public class StreamData {
813 public enum Tag {
814 StreamData
815 }
816 public Tag tag;
817
818 public class StreamData extends StreamData {
819 public HashMap<String, ArrayValue> streamData;
820 public HashMap<String, InputType> streamType;
821 public FetchPrimitive streamPrimitive;
822 public ArrayList<Integer> streamPrograms;
823 }
824 }
825
826 public class TargetItem {
827 public enum Tag {
828 TargetItem
829 }
830 public Tag tag;
831
832 public class TargetItem extends TargetItem {
833 public ImageSemantic targetSemantic;
834 public int targetRef;
835 }
836 }
837
838 public class RenderTarget {
839 public enum Tag {
840 RenderTarget
841 }
842 public Tag tag;
843
844 public class RenderTarget extends RenderTarget {
845 public ArrayList<TargetItem> renderTargets;
846 }
847 }
848
849 public class Backend {
850 public enum Tag {
851 WebGL1,
852 OpenGL33
853 }
854 public Tag tag;
855
856 }
857
858 public class Pipeline {
859 public enum Tag {
860 Pipeline
861 }
862 public Tag tag;
863
864 public class Pipeline extends Pipeline {
865 public String info;
866 public Backend backend;
867 public ArrayList<TextureDescriptor> textures;
868 public ArrayList<SamplerDescriptor> samplers;
869 public ArrayList<RenderTarget> targets;
870 public ArrayList<Program> programs;
871 public ArrayList<Slot> slots;
872 public ArrayList<StreamData> streams;
873 public ArrayList<Command> commands;
874 }
875 }
876
877} \ No newline at end of file
diff --git a/ddl/out/LambdaCube.Mesh.java b/ddl/out/LambdaCube.Mesh.java
deleted file mode 100644
index 2cf85c7..0000000
--- a/ddl/out/LambdaCube.Mesh.java
+++ /dev/null
@@ -1,79 +0,0 @@
1// generated file, do not modify!
2// 2016-03-14T10:58:29.976813000000Z
3
4
5public class LambdaCube.Mesh {
6 public class MeshAttribute {
7 public enum Tag {
8 A_Float,
9 A_V2F,
10 A_V3F,
11 A_V4F,
12 A_M22F,
13 A_M33F,
14 A_M44F,
15 A_Int,
16 A_Word
17 }
18 public Tag tag;
19
20 public class A_Float extends MeshAttribute {
21 public ArrayList<Float> _0;
22 }
23 public class A_V2F extends MeshAttribute {
24 public ArrayList<int> _0;
25 }
26 public class A_V3F extends MeshAttribute {
27 public ArrayList<int> _0;
28 }
29 public class A_V4F extends MeshAttribute {
30 public ArrayList<int> _0;
31 }
32 public class A_M22F extends MeshAttribute {
33 public ArrayList<int> _0;
34 }
35 public class A_M33F extends MeshAttribute {
36 public ArrayList<int> _0;
37 }
38 public class A_M44F extends MeshAttribute {
39 public ArrayList<int> _0;
40 }
41 public class A_Int extends MeshAttribute {
42 public ArrayList<Integer> _0;
43 }
44 public class A_Word extends MeshAttribute {
45 public ArrayList<Integer> _0;
46 }
47 }
48
49 public class MeshPrimitive {
50 public enum Tag {
51 P_Points,
52 P_TriangleStrip,
53 P_Triangles,
54 P_TriangleStripI,
55 P_TrianglesI
56 }
57 public Tag tag;
58
59 public class P_TriangleStripI extends MeshPrimitive {
60 public ArrayList<Integer> _0;
61 }
62 public class P_TrianglesI extends MeshPrimitive {
63 public ArrayList<Integer> _0;
64 }
65 }
66
67 public class Mesh {
68 public enum Tag {
69 Mesh
70 }
71 public Tag tag;
72
73 public class Mesh extends Mesh {
74 public HashMap<String, MeshAttribute> mAttributes;
75 public MeshPrimitive mPrimitive;
76 }
77 }
78
79} \ No newline at end of file
diff --git a/ddl/out/LambdaCube.PipelineSchema.java b/ddl/out/LambdaCube.PipelineSchema.java
deleted file mode 100644
index c71e7c0..0000000
--- a/ddl/out/LambdaCube.PipelineSchema.java
+++ /dev/null
@@ -1,59 +0,0 @@
1// generated file, do not modify!
2// 2016-03-14T10:58:29.954220000000Z
3
4import LambdaCube.IR;
5
6public class LambdaCube.PipelineSchema {
7 public class StreamType {
8 public enum Tag {
9 Attribute_Word,
10 Attribute_V2U,
11 Attribute_V3U,
12 Attribute_V4U,
13 Attribute_Int,
14 Attribute_V2I,
15 Attribute_V3I,
16 Attribute_V4I,
17 Attribute_Float,
18 Attribute_V2F,
19 Attribute_V3F,
20 Attribute_V4F,
21 Attribute_M22F,
22 Attribute_M23F,
23 Attribute_M24F,
24 Attribute_M32F,
25 Attribute_M33F,
26 Attribute_M34F,
27 Attribute_M42F,
28 Attribute_M43F,
29 Attribute_M44F
30 }
31 public Tag tag;
32
33 }
34
35 public class ObjectArraySchema {
36 public enum Tag {
37 ObjectArraySchema
38 }
39 public Tag tag;
40
41 public class ObjectArraySchema extends ObjectArraySchema {
42 public FetchPrimitive primitive;
43 public HashMap<String, StreamType> attributes;
44 }
45 }
46
47 public class PipelineSchema {
48 public enum Tag {
49 PipelineSchema
50 }
51 public Tag tag;
52
53 public class PipelineSchema extends PipelineSchema {
54 public HashMap<String, ObjectArraySchema> objectArrays;
55 public HashMap<String, InputType> uniforms;
56 }
57 }
58
59} \ No newline at end of file
diff --git a/ddl/out/LambdaCube.TypeInfo.java b/ddl/out/LambdaCube.TypeInfo.java
deleted file mode 100644
index 59c2a26..0000000
--- a/ddl/out/LambdaCube.TypeInfo.java
+++ /dev/null
@@ -1,52 +0,0 @@
1// generated file, do not modify!
2// 2016-03-14T10:58:30.014693000000Z
3
4import LambdaCube.IR;
5
6public class LambdaCube.TypeInfo {
7 public class Range {
8 public enum Tag {
9 Range
10 }
11 public Tag tag;
12
13 public class Range extends Range {
14 public Integer startLine;
15 public Integer startColumn;
16 public Integer endLine;
17 public Integer endColumn;
18 }
19 }
20
21 public class TypeInfo {
22 public enum Tag {
23 TypeInfo
24 }
25 public Tag tag;
26
27 public class TypeInfo extends TypeInfo {
28 public Range range;
29 public String text;
30 }
31 }
32
33 public class CompileResult {
34 public enum Tag {
35 CompileError,
36 Compiled
37 }
38 public Tag tag;
39
40 public class CompileError extends CompileResult {
41 public ArrayList<Range> _0;
42 public String _1;
43 public ArrayList<TypeInfo> _2;
44 }
45 public class Compiled extends CompileResult {
46 public String _0;
47 public Pipeline _1;
48 public ArrayList<TypeInfo> _2;
49 }
50 }
51
52} \ No newline at end of file
diff --git a/ddl/out/TestData.java b/ddl/out/TestData.java
deleted file mode 100644
index aa6b656..0000000
--- a/ddl/out/TestData.java
+++ /dev/null
@@ -1,103 +0,0 @@
1// generated file, do not modify!
2// 2016-03-14T10:58:30.042864000000Z
3
4import LambdaCube.IR;
5import LambdaCube.Mesh;
6import LambdaCube.PipelineSchema;
7
8public class TestData {
9 public class ClientInfo {
10 public enum Tag {
11 ClientInfo
12 }
13 public Tag tag;
14
15 public class ClientInfo extends ClientInfo {
16 public String clientName;
17 public Backend clientBackend;
18 }
19 }
20
21 public class Frame {
22 public enum Tag {
23 Frame
24 }
25 public Tag tag;
26
27 public class Frame extends Frame {
28 public Integer renderCount;
29 public HashMap<String, Value> frameUniforms;
30 public HashMap<String, Integer> frameTextures;
31 }
32 }
33
34 public class Scene {
35 public enum Tag {
36 Scene
37 }
38 public Tag tag;
39
40 public class Scene extends Scene {
41 public HashMap<String, ArrayList<Integer>> objectArrays;
42 public Integer renderTargetWidth;
43 public Integer renderTargetHeight;
44 public ArrayList<Frame> frames;
45 }
46 }
47
48 public class PipelineInfo {
49 public enum Tag {
50 PipelineInfo
51 }
52 public Tag tag;
53
54 public class PipelineInfo extends PipelineInfo {
55 public String pipelineName;
56 public Pipeline pipeline;
57 }
58 }
59
60 public class RenderJob {
61 public enum Tag {
62 RenderJob
63 }
64 public Tag tag;
65
66 public class RenderJob extends RenderJob {
67 public ArrayList<Mesh> meshes;
68 public ArrayList<String> textures;
69 public PipelineSchema schema;
70 public ArrayList<Scene> scenes;
71 public ArrayList<PipelineInfo> pipelines;
72 }
73 }
74
75 public class FrameResult {
76 public enum Tag {
77 FrameResult
78 }
79 public Tag tag;
80
81 public class FrameResult extends FrameResult {
82 public ArrayList<Float> frRenderTimes;
83 public Integer frImageWidth;
84 public Integer frImageHeight;
85 }
86 }
87
88 public class RenderJobResult {
89 public enum Tag {
90 RenderJobResult,
91 RenderJobError
92 }
93 public Tag tag;
94
95 public class RenderJobResult extends RenderJobResult {
96 public FrameResult _0;
97 }
98 public class RenderJobError extends RenderJobResult {
99 public String _0;
100 }
101 }
102
103} \ No newline at end of file
diff --git a/ddl/out/LambdaCube.IR.cpp b/ddl/out/cpp/LambdaCube.IR.cpp
index dddde0a..dddde0a 100644
--- a/ddl/out/LambdaCube.IR.cpp
+++ b/ddl/out/cpp/LambdaCube.IR.cpp
diff --git a/ddl/out/LambdaCube.IR.hpp b/ddl/out/cpp/LambdaCube.IR.hpp
index 47e1077..47e1077 100644
--- a/ddl/out/LambdaCube.IR.hpp
+++ b/ddl/out/cpp/LambdaCube.IR.hpp
diff --git a/ddl/out/LambdaCube.IR2.hpp b/ddl/out/cpp/LambdaCube.IR2.hpp
index 1ef1dc2..1ef1dc2 100644
--- a/ddl/out/LambdaCube.IR2.hpp
+++ b/ddl/out/cpp/LambdaCube.IR2.hpp
diff --git a/ddl/out/LambdaCube.Mesh.cpp b/ddl/out/cpp/LambdaCube.Mesh.cpp
index ae47aa3..ae47aa3 100644
--- a/ddl/out/LambdaCube.Mesh.cpp
+++ b/ddl/out/cpp/LambdaCube.Mesh.cpp
diff --git a/ddl/out/LambdaCube.Mesh.hpp b/ddl/out/cpp/LambdaCube.Mesh.hpp
index 205cc02..205cc02 100644
--- a/ddl/out/LambdaCube.Mesh.hpp
+++ b/ddl/out/cpp/LambdaCube.Mesh.hpp
diff --git a/ddl/out/LambdaCube.Mesh2.hpp b/ddl/out/cpp/LambdaCube.Mesh2.hpp
index fac4bcc..fac4bcc 100644
--- a/ddl/out/LambdaCube.Mesh2.hpp
+++ b/ddl/out/cpp/LambdaCube.Mesh2.hpp
diff --git a/ddl/out/LambdaCube.PipelineSchema.cpp b/ddl/out/cpp/LambdaCube.PipelineSchema.cpp
index 669576a..669576a 100644
--- a/ddl/out/LambdaCube.PipelineSchema.cpp
+++ b/ddl/out/cpp/LambdaCube.PipelineSchema.cpp
diff --git a/ddl/out/LambdaCube.PipelineSchema.hpp b/ddl/out/cpp/LambdaCube.PipelineSchema.hpp
index ef1d7a3..ef1d7a3 100644
--- a/ddl/out/LambdaCube.PipelineSchema.hpp
+++ b/ddl/out/cpp/LambdaCube.PipelineSchema.hpp
diff --git a/ddl/out/LambdaCube.PipelineSchema2.hpp b/ddl/out/cpp/LambdaCube.PipelineSchema2.hpp
index 34eb9ab..34eb9ab 100644
--- a/ddl/out/LambdaCube.PipelineSchema2.hpp
+++ b/ddl/out/cpp/LambdaCube.PipelineSchema2.hpp
diff --git a/ddl/out/LambdaCube.TypeInfo.cpp b/ddl/out/cpp/LambdaCube.TypeInfo.cpp
index 23bdb5b..23bdb5b 100644
--- a/ddl/out/LambdaCube.TypeInfo.cpp
+++ b/ddl/out/cpp/LambdaCube.TypeInfo.cpp
diff --git a/ddl/out/LambdaCube.TypeInfo.hpp b/ddl/out/cpp/LambdaCube.TypeInfo.hpp
index 8b5e74f..8b5e74f 100644
--- a/ddl/out/LambdaCube.TypeInfo.hpp
+++ b/ddl/out/cpp/LambdaCube.TypeInfo.hpp
diff --git a/ddl/out/LambdaCube.TypeInfo2.hpp b/ddl/out/cpp/LambdaCube.TypeInfo2.hpp
index 3016e93..3016e93 100644
--- a/ddl/out/LambdaCube.TypeInfo2.hpp
+++ b/ddl/out/cpp/LambdaCube.TypeInfo2.hpp
diff --git a/ddl/out/TestData.cpp b/ddl/out/cpp/TestData.cpp
index 466f1a7..466f1a7 100644
--- a/ddl/out/TestData.cpp
+++ b/ddl/out/cpp/TestData.cpp
diff --git a/ddl/out/TestData.hpp b/ddl/out/cpp/TestData.hpp
index 60d401f..60d401f 100644
--- a/ddl/out/TestData.hpp
+++ b/ddl/out/cpp/TestData.hpp
diff --git a/ddl/out/TestData2.hpp b/ddl/out/cpp/TestData2.hpp
index 80acbba..80acbba 100644
--- a/ddl/out/TestData2.hpp
+++ b/ddl/out/cpp/TestData2.hpp
diff --git a/ddl/out/LambdaCube.IR.cs b/ddl/out/csharp/LambdaCube.IR.cs
index af2a9d4..af2a9d4 100644
--- a/ddl/out/LambdaCube.IR.cs
+++ b/ddl/out/csharp/LambdaCube.IR.cs
diff --git a/ddl/out/LambdaCube.Mesh.cs b/ddl/out/csharp/LambdaCube.Mesh.cs
index 7cc93f3..7cc93f3 100644
--- a/ddl/out/LambdaCube.Mesh.cs
+++ b/ddl/out/csharp/LambdaCube.Mesh.cs
diff --git a/ddl/out/LambdaCube.PipelineSchema.cs b/ddl/out/csharp/LambdaCube.PipelineSchema.cs
index c5f6548..c5f6548 100644
--- a/ddl/out/LambdaCube.PipelineSchema.cs
+++ b/ddl/out/csharp/LambdaCube.PipelineSchema.cs
diff --git a/ddl/out/LambdaCube.TypeInfo.cs b/ddl/out/csharp/LambdaCube.TypeInfo.cs
index c92a747..c92a747 100644
--- a/ddl/out/LambdaCube.TypeInfo.cs
+++ b/ddl/out/csharp/LambdaCube.TypeInfo.cs
diff --git a/ddl/out/TestData.cs b/ddl/out/csharp/TestData.cs
index 2290a2c..2290a2c 100644
--- a/ddl/out/TestData.cs
+++ b/ddl/out/csharp/TestData.cs
diff --git a/ddl/out/LambdaCube.IR.hs b/ddl/out/haskell/LambdaCube/IR.hs
index 25eba87..25eba87 100644
--- a/ddl/out/LambdaCube.IR.hs
+++ b/ddl/out/haskell/LambdaCube/IR.hs
diff --git a/ddl/out/LambdaCube.Mesh.hs b/ddl/out/haskell/LambdaCube/Mesh.hs
index 8d6db7a..8d6db7a 100644
--- a/ddl/out/LambdaCube.Mesh.hs
+++ b/ddl/out/haskell/LambdaCube/Mesh.hs
diff --git a/ddl/out/LambdaCube.PipelineSchema.hs b/ddl/out/haskell/LambdaCube/PipelineSchema.hs
index 9764e9c..9764e9c 100644
--- a/ddl/out/LambdaCube.PipelineSchema.hs
+++ b/ddl/out/haskell/LambdaCube/PipelineSchema.hs
diff --git a/ddl/out/LambdaCube.TypeInfo.hs b/ddl/out/haskell/LambdaCube/TypeInfo.hs
index 3aed071..3aed071 100644
--- a/ddl/out/LambdaCube.TypeInfo.hs
+++ b/ddl/out/haskell/LambdaCube/TypeInfo.hs
diff --git a/ddl/out/TestData.hs b/ddl/out/haskell/TestData.hs
index 3904a3e..3904a3e 100644
--- a/ddl/out/TestData.hs
+++ b/ddl/out/haskell/TestData.hs
diff --git a/ddl/out/LambdaCube.IR.purs b/ddl/out/purescript/LambdaCube/IR.purs
index 0c515ec..0c515ec 100644
--- a/ddl/out/LambdaCube.IR.purs
+++ b/ddl/out/purescript/LambdaCube/IR.purs
diff --git a/ddl/out/LambdaCube.Mesh.purs b/ddl/out/purescript/LambdaCube/Mesh.purs
index 7b39700..7b39700 100644
--- a/ddl/out/LambdaCube.Mesh.purs
+++ b/ddl/out/purescript/LambdaCube/Mesh.purs
diff --git a/ddl/out/LambdaCube.PipelineSchema.purs b/ddl/out/purescript/LambdaCube/PipelineSchema.purs
index 2a40ce2..2a40ce2 100644
--- a/ddl/out/LambdaCube.PipelineSchema.purs
+++ b/ddl/out/purescript/LambdaCube/PipelineSchema.purs
diff --git a/ddl/out/LambdaCube.TypeInfo.purs b/ddl/out/purescript/LambdaCube/TypeInfo.purs
index a7b5705..a7b5705 100644
--- a/ddl/out/LambdaCube.TypeInfo.purs
+++ b/ddl/out/purescript/LambdaCube/TypeInfo.purs
diff --git a/ddl/out/TestData.purs b/ddl/out/purescript/TestData.purs
index c8af32b..c8af32b 100644
--- a/ddl/out/TestData.purs
+++ b/ddl/out/purescript/TestData.purs
diff --git a/ddl/out/LambdaCube.IR.swift b/ddl/out/swift/LambdaCube.IR.swift
index bde39fd..bde39fd 100644
--- a/ddl/out/LambdaCube.IR.swift
+++ b/ddl/out/swift/LambdaCube.IR.swift
diff --git a/ddl/out/LambdaCube.Mesh.swift b/ddl/out/swift/LambdaCube.Mesh.swift
index 8df6c2a..8df6c2a 100644
--- a/ddl/out/LambdaCube.Mesh.swift
+++ b/ddl/out/swift/LambdaCube.Mesh.swift
diff --git a/ddl/out/LambdaCube.PipelineSchema.swift b/ddl/out/swift/LambdaCube.PipelineSchema.swift
index 47ac3aa..47ac3aa 100644
--- a/ddl/out/LambdaCube.PipelineSchema.swift
+++ b/ddl/out/swift/LambdaCube.PipelineSchema.swift
diff --git a/ddl/out/LambdaCube.TypeInfo.swift b/ddl/out/swift/LambdaCube.TypeInfo.swift
index 0328305..0328305 100644
--- a/ddl/out/LambdaCube.TypeInfo.swift
+++ b/ddl/out/swift/LambdaCube.TypeInfo.swift
diff --git a/ddl/out/TestData.swift b/ddl/out/swift/TestData.swift
index 21c53d3..21c53d3 100644
--- a/ddl/out/TestData.swift
+++ b/ddl/out/swift/TestData.swift