Browse code

Added Releasenotes, bumped version and the usual stuff. Fixed dox up to represent the new version better.

Nat! authored on 05-11-2013 12:27:19
Showing 10 changed files
... ...
@@ -82,7 +82,6 @@
82 82
 		4121DB0416DD2B6900BFD60C /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4121DB0316DD2B6900BFD60C /* libz.dylib */; };
83 83
 		414A840616E50D4A0084AE1E /* index.scion in CopyFiles */ = {isa = PBXBuildFile; fileRef = 41DD56A716E39BF200C4D68A /* index.scion */; };
84 84
 		414A840816E50D4E0084AE1E /* _wrapper.scion in CopyFiles */ = {isa = PBXBuildFile; fileRef = 41DD56B416E3E95C00C4D68A /* _wrapper.scion */; };
85
-		414A840916E50D4F0084AE1E /* __scion_defines.scion in CopyFiles */ = {isa = PBXBuildFile; fileRef = 41EA51AD16E5045300D3B0AD /* __scion_defines.scion */; };
86 85
 		414A840A16E50D510084AE1E /* __scion_macros.scion in CopyFiles */ = {isa = PBXBuildFile; fileRef = 41EA51AE16E505A800D3B0AD /* __scion_macros.scion */; };
87 86
 		414A840B16E50D540084AE1E /* __scion_banner.scion in CopyFiles */ = {isa = PBXBuildFile; fileRef = 41DD56AD16E3D1FF00C4D68A /* __scion_banner.scion */; };
88 87
 		414A840C16E50D550084AE1E /* __scion_navigation.scion in CopyFiles */ = {isa = PBXBuildFile; fileRef = 41DD56A916E3CF3F00C4D68A /* __scion_navigation.scion */; };
... ...
@@ -210,6 +209,8 @@
210 209
 		41F12D4016E25B9100120E63 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 41764B8F16DA511200560FCF /* Foundation.framework */; };
211 210
 		41F12D4116E25B9F00120E63 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4121DB0316DD2B6900BFD60C /* libz.dylib */; };
212 211
 		41F12D4616E274D200120E63 /* MulleScionNull.m in Sources */ = {isa = PBXBuildFile; fileRef = 41F12D4516E274D200120E63 /* MulleScionNull.m */; };
212
+		41FE9FD718281F77005E7A41 /* RELEASENOTES in Resources */ = {isa = PBXBuildFile; fileRef = 41FE9FD618281F77005E7A41 /* RELEASENOTES */; };
213
+		41FE9FD818281F77005E7A41 /* RELEASENOTES in Resources */ = {isa = PBXBuildFile; fileRef = 41FE9FD618281F77005E7A41 /* RELEASENOTES */; };
213 214
 /* End PBXBuildFile section */
214 215
 
215 216
 /* Begin PBXContainerItemProxy section */
... ...
@@ -404,7 +405,6 @@
404 405
 				414A840C16E50D550084AE1E /* __scion_navigation.scion in CopyFiles */,
405 406
 				414A840A16E50D510084AE1E /* __scion_macros.scion in CopyFiles */,
406 407
 				414A840B16E50D540084AE1E /* __scion_banner.scion in CopyFiles */,
407
-				414A840916E50D4F0084AE1E /* __scion_defines.scion in CopyFiles */,
408 408
 				414A842716E529780084AE1E /* ~spaces.scion in CopyFiles */,
409 409
 				414A840816E50D4E0084AE1E /* _wrapper.scion in CopyFiles */,
410 410
 			);
... ...
@@ -544,6 +544,7 @@
544 544
 		4190DC6C16DEC5F400FC4471 /* filter.scion */ = {isa = PBXFileReference; lastKnownFileType = text; name = filter.scion; path = ../dox/filter.scion; sourceTree = "<group>"; };
545 545
 		41B07E24182001800003B67F /* self.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = self.scion; sourceTree = "<group>"; };
546 546
 		41BC1BD5181AF0B900A90E06 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/libz.dylib; sourceTree = DEVELOPER_DIR; };
547
+		41CCC55C18254FB00081FA1C /* tests */ = {isa = PBXFileReference; lastKnownFileType = folder; path = tests; sourceTree = "<group>"; };
547 548
 		41CD2F0D181FE17300FBBEB4 /* INSTALL */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = INSTALL; sourceTree = "<group>"; };
548 549
 		41D6DEA316DE32A9004833D6 /* MulleScionPrintingException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MulleScionPrintingException.h; sourceTree = "<group>"; };
549 550
 		41D6DEA416DE32A9004833D6 /* MulleScionPrintingException.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MulleScionPrintingException.m; sourceTree = "<group>"; };
... ...
@@ -579,9 +580,7 @@
579 580
 		41EA51A716E4E61A00D3B0AD /* block.scion */ = {isa = PBXFileReference; lastKnownFileType = text; path = block.scion; sourceTree = "<group>"; };
580 581
 		41EA51A816E4E63500D3B0AD /* set.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = set.scion; sourceTree = "<group>"; };
581 582
 		41EA51AB16E4E7D900D3B0AD /* extends.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = extends.scion; sourceTree = "<group>"; };
582
-		41EA51AD16E5045300D3B0AD /* __scion_defines.scion */ = {isa = PBXFileReference; lastKnownFileType = text; path = __scion_defines.scion; sourceTree = "<group>"; };
583 583
 		41EA51AE16E505A800D3B0AD /* __scion_macros.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = __scion_macros.scion; sourceTree = "<group>"; };
584
-		41EA51B016E50BED00D3B0AD /* ~stress-macro.scion */ = {isa = PBXFileReference; lastKnownFileType = text; name = "~stress-macro.scion"; path = "../dox/~stress-macro.scion"; sourceTree = "<group>"; };
585 584
 		41EC7F951821BE3900142613 /* #!.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "#!.scion"; sourceTree = "<group>"; };
586 585
 		41ECE09616DC363E00E891A0 /* _simple_base.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = _simple_base.scion; path = ../dox/_simple_base.scion; sourceTree = "<group>"; };
587 586
 		41ECE09716DC367200E891A0 /* ~simple_extends.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "~simple_extends.scion"; path = "../dox/~simple_extends.scion"; sourceTree = "<group>"; };
... ...
@@ -589,6 +588,7 @@
589 588
 		41F12D3D16E25B4200120E63 /* MulleScionTemplates.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = MulleScionTemplates.c; sourceTree = "<group>"; };
590 589
 		41F12D4416E274D100120E63 /* MulleScionNull.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MulleScionNull.h; sourceTree = "<group>"; };
591 590
 		41F12D4516E274D200120E63 /* MulleScionNull.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MulleScionNull.m; sourceTree = "<group>"; };
591
+		41FE9FD618281F77005E7A41 /* RELEASENOTES */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RELEASENOTES; sourceTree = "<group>"; };
592 592
 /* End PBXFileReference section */
593 593
 
594 594
 /* Begin PBXFrameworksBuildPhase section */
... ...
@@ -696,11 +696,13 @@
696 696
 			isa = PBXGroup;
697 697
 			children = (
698 698
 				41DEE8A117DF22190042A439 /* README.md */,
699
+				41FE9FD618281F77005E7A41 /* RELEASENOTES */,
699 700
 				41CD2F0D181FE17300FBBEB4 /* INSTALL */,
700 701
 				414A842816E52DF50084AE1E /* LICENSE */,
701 702
 				41764B9116DA511200560FCF /* src */,
702 703
 				41764B8E16DA511200560FCF /* Frameworks */,
703 704
 				41764B9416DA511200560FCF /* dox */,
705
+				41CCC55C18254FB00081FA1C /* tests */,
704 706
 				41764B8D16DA511200560FCF /* Products */,
705 707
 			);
706 708
 			sourceTree = "<group>";
... ...
@@ -757,7 +759,6 @@
757 759
 				414A842616E5288A0084AE1E /* MulleScionTemplatesDataFlow.png */,
758 760
 				41DD56A716E39BF200C4D68A /* index.scion */,
759 761
 				41DD56B416E3E95C00C4D68A /* _wrapper.scion */,
760
-				41EA51AD16E5045300D3B0AD /* __scion_defines.scion */,
761 762
 				41EA51AE16E505A800D3B0AD /* __scion_macros.scion */,
762 763
 				41DD56AD16E3D1FF00C4D68A /* __scion_banner.scion */,
763 764
 				41DD56A916E3CF3F00C4D68A /* __scion_navigation.scion */,
... ...
@@ -793,7 +794,6 @@
793 794
 				41ECE09716DC367200E891A0 /* ~simple_extends.scion */,
794 795
 				410B32EF16DBD5DC005D0EAD /* ~extends.scion */,
795 796
 				4121DAED16DCCE0B00BFD60C /* ~spaces.scion */,
796
-				41EA51B016E50BED00D3B0AD /* ~stress-macro.scion */,
797 797
 				410B32EE16DBD5D4005D0EAD /* _footer.scion */,
798 798
 				410B32EB16DBD57B005D0EAD /* _base.scion */,
799 799
 				410B32EC16DBD5BC005D0EAD /* _header.scion */,
... ...
@@ -1164,6 +1164,7 @@
1164 1164
 			buildActionMask = 2147483647;
1165 1165
 			files = (
1166 1166
 				41B07E261820215A0003B67F /* README.md in Resources */,
1167
+				41FE9FD718281F77005E7A41 /* RELEASENOTES in Resources */,
1167 1168
 				41B07E271820215A0003B67F /* LICENSE in Resources */,
1168 1169
 			);
1169 1170
 			runOnlyForDeploymentPostprocessing = 0;
... ...
@@ -1173,6 +1174,7 @@
1173 1174
 			buildActionMask = 2147483647;
1174 1175
 			files = (
1175 1176
 				41188249181E87F5003F06CD /* README.md in Resources */,
1177
+				41FE9FD818281F77005E7A41 /* RELEASENOTES in Resources */,
1176 1178
 				41B07E28182021720003B67F /* LICENSE in Resources */,
1177 1179
 			);
1178 1180
 			runOnlyForDeploymentPostprocessing = 0;
... ...
@@ -1456,6 +1458,7 @@
1456 1458
 			isa = XCBuildConfiguration;
1457 1459
 			buildSettings = {
1458 1460
 				ALWAYS_SEARCH_USER_PATHS = NO;
1461
+				ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
1459 1462
 				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1460 1463
 				CLANG_CXX_LIBRARY = "libc++";
1461 1464
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
... ...
@@ -1465,7 +1468,7 @@
1465 1468
 				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1466 1469
 				COPY_PHASE_STRIP = NO;
1467 1470
 				DYLIB_COMPATIBILITY_VERSION = 1848;
1468
-				DYLIB_CURRENT_VERSION = 1848.2;
1471
+				DYLIB_CURRENT_VERSION = 1848.3;
1469 1472
 				GCC_C_LANGUAGE_STANDARD = gnu99;
1470 1473
 				GCC_DYNAMIC_NO_PIC = NO;
1471 1474
 				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
... ...
@@ -1496,6 +1499,7 @@
1496 1499
 			isa = XCBuildConfiguration;
1497 1500
 			buildSettings = {
1498 1501
 				ALWAYS_SEARCH_USER_PATHS = NO;
1502
+				ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
1499 1503
 				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1500 1504
 				CLANG_CXX_LIBRARY = "libc++";
1501 1505
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
... ...
@@ -1507,7 +1511,7 @@
1507 1511
 				COPY_PHASE_STRIP = YES;
1508 1512
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1509 1513
 				DYLIB_COMPATIBILITY_VERSION = 1848;
1510
-				DYLIB_CURRENT_VERSION = 1848.2;
1514
+				DYLIB_CURRENT_VERSION = 1848.3;
1511 1515
 				GCC_C_LANGUAGE_STANDARD = gnu99;
1512 1516
 				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
1513 1517
 				GCC_PREPROCESSOR_DEFINITIONS = (
... ...
@@ -1551,6 +1555,7 @@
1551 1555
 			isa = XCBuildConfiguration;
1552 1556
 			buildSettings = {
1553 1557
 				ALWAYS_SEARCH_USER_PATHS = NO;
1558
+				ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
1554 1559
 				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1555 1560
 				CLANG_CXX_LIBRARY = "libc++";
1556 1561
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
... ...
@@ -1562,7 +1567,7 @@
1562 1567
 				COPY_PHASE_STRIP = YES;
1563 1568
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1564 1569
 				DYLIB_COMPATIBILITY_VERSION = 1848;
1565
-				DYLIB_CURRENT_VERSION = 1848.2;
1570
+				DYLIB_CURRENT_VERSION = 1848.3;
1566 1571
 				GCC_C_LANGUAGE_STANDARD = gnu99;
1567 1572
 				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
1568 1573
 				GCC_PREPROCESSOR_DEFINITIONS = (
... ...
@@ -44,7 +44,7 @@
44 44
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
45 45
       launchStyle = "0"
46 46
       useCustomWorkingDirectory = "YES"
47
-      customWorkingDirectory = "${PROJECT_DIR}"
47
+      customWorkingDirectory = "$(PROJECT_DIR)"
48 48
       buildConfiguration = "Debug"
49 49
       ignoresPersistentStateOnLaunch = "NO"
50 50
       debugDocumentVersioning = "YES"
... ...
@@ -54,7 +54,7 @@
54 54
             ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
55 55
             <ActionContent
56 56
                title = "Run Script"
57
-               scriptText = "( sleep 2 ; open &quot;http://127.0.0.1:18048/index.scion&quot; ) &amp;">
57
+               scriptText = "# doesn&apos;t work&#10;# if [ &quot;$START_WEBSERVER&quot; = &quot;YES&quot; ]&#10;#then&#10;   ( sleep 2 ; open &quot;http://127.0.0.1:18048/index.scion&quot; ) &amp;&#10;#fi&#10;">
58 58
             </ActionContent>
59 59
          </ExecutionAction>
60 60
       </PreActions>
... ...
@@ -73,13 +73,33 @@
73 73
             isEnabled = "YES">
74 74
          </CommandLineArgument>
75 75
          <CommandLineArgument
76
-            argument = "./dox/self.scion"
76
+            argument = "./tests/expressions/operators/comparisons/smaller/smaller-2.scion"
77
+            isEnabled = "NO">
78
+         </CommandLineArgument>
79
+         <CommandLineArgument
80
+            argument = "./tests/commands/macro/macro-in-macro.scion"
81
+            isEnabled = "NO">
82
+         </CommandLineArgument>
83
+         <CommandLineArgument
84
+            argument = "./tests/commands/includes/includes.scion"
85
+            isEnabled = "NO">
86
+         </CommandLineArgument>
87
+         <CommandLineArgument
88
+            argument = "./tests/commands/if/method-after-if.scion"
89
+            isEnabled = "NO">
90
+         </CommandLineArgument>
91
+         <CommandLineArgument
92
+            argument = "./dox/set.scion"
77 93
             isEnabled = "NO">
78 94
          </CommandLineArgument>
79 95
          <CommandLineArgument
80 96
             argument = "./dox/properties.plist"
81 97
             isEnabled = "NO">
82 98
          </CommandLineArgument>
99
+         <CommandLineArgument
100
+            argument = "none"
101
+            isEnabled = "NO">
102
+         </CommandLineArgument>
83 103
       </CommandLineArguments>
84 104
       <EnvironmentVariables>
85 105
          <EnvironmentVariable
... ...
@@ -87,6 +107,11 @@
87 107
             value = "/tmp/cache"
88 108
             isEnabled = "NO">
89 109
          </EnvironmentVariable>
110
+         <EnvironmentVariable
111
+            key = "START_WEBSERVER"
112
+            value = "YES"
113
+            isEnabled = "YES">
114
+         </EnvironmentVariable>
90 115
       </EnvironmentVariables>
91 116
       <AdditionalOptions>
92 117
       </AdditionalOptions>
... ...
@@ -0,0 +1,22 @@
1
+v1848.3  !!massive changes!!
2
+
3
+your compiled scionz files are incompatible now. Throw them away
4
+and rebuild your caches
5
+
6
+you used to be able to have random trash after valid scion code, which was nice
7
+for documentation. That doesn't work anymore in most cases
8
+
9
+you can now write multiline scripts, but some keywords need still to be 
10
+enclosed as singles in {% %} like macro, block, endblock, extends and maybe
11
+some others
12
+
13
+there are the beginnings of a test suite, check out the tests folder. there is
14
+a simple shellscript that runs the tests
15
+
16
+lots of smaller fixes, whose content one might glean from the git comments
17
+
18
+
19
+v1848.2
20
+
21
+your scionz files are incompatible now. Throw them away
22
+and rebuild the caches
... ...
@@ -8,5 +8,35 @@ command and prefix your script file and make it executable
8 8
 There are two environment variables MULLESCION_VERBATIM_INCLUDE_HASHBANG and
9 9
 MULLESCION_NO_HASHBANG to turn this feature off.
10 10
 
11
-Current Date: {{ [NSDate date] }}
11
+Lets run a simple example.
12 12
 
13
+{%
14
+   file  = [NSFileHandle fileHandleForReadingAtPath:@"/etc/hostconfig"];
15
+   data  = [file readDataToEndOfFile];
16
+   s     = [[[NSString alloc] initWithData:data
17
+                         encoding:NSUTF8StringEncoding] autorelease];
18
+   components = [s componentsSeparatedByString:@"\n"];
19
+%}
20
+{{ components.@count }}
21
+{%
22
+   white      = [NSCharacterSet whitespaceAndNewlineCharacterSet];
23
+   dict       = [NSMutableDictionary dictionary];
24
+
25
+   for line in components ;
26
+       line = [line stringByTrimmingCharactersInSet:white];
27
+       if not [line hasPrefix:@"#"] ;
28
+          keyValue = [line componentsSeparatedByString:@"="];
29
+%}
30
+>>>{{ keyValue.class }}/{{ keyValue.@count }}<<<
31
+{%
32
+          if keyValue.@count == 2 ;
33
+             set dict[ keyValue[ 0]] = keyValue[ 1];
34
+          endif
35
+       endif
36
+   endfor
37
+%}
38
+
39
+hostconfig:
40
+{% for key in dict.allKeys %}
41
+   {{ key }} = {{ dict[ key] }}
42
+{% endfor %}
... ...
@@ -1,3 +1 @@
1
-{% define NSOrderedSame = 0 %}
2
-{% define NSOrderedAscending = -1 %}
3
-{% define NSOrderedDescending = 1 %}
1
+{% %}
... ...
@@ -1,11 +1,10 @@
1 1
 {% macro html_file_list_table( subdivision=4, wrapper="?wrapper=_wrapper.scion", file_list) %}
2
- {% MulleScionForSubdivisionLength = subdivision %}
3
- {% MulleScionForOpener = "	<tr><td>" %}
4
- {% MulleScionForSeparator = "</td><td>" %}
5
- {% MulleScionForCloser = "</td></tr>" %}
6
- {% MulleScionForSubdivisionOpener = MulleScionForOpener %}
7
- {% MulleScionForSubdivisionCloser = "</td></tr>
8
-" %}
2
+ {% MulleScionForSubdivisionLength = subdivision;
3
+    MulleScionForOpener = "	<tr><td>";
4
+    MulleScionForSeparator = "</td><td>";
5
+    MulleScionForCloser = "</td></tr>";
6
+    MulleScionForSubdivisionOpener = MulleScionForOpener;
7
+    MulleScionForSubdivisionCloser = "</td></tr>\n" %}
9 8
  <table>
10 9
   {% for file in file_list %}{{ file#.header }}<a href="{{ file | urlEscapedString }}{{ wrapper }}">{{ [file isEqualToString:@"dot.scion"] ? @"." : [file stringByDeletingPathExtension] }}</a>{{ file#.footer }}{% endfor %}
11 10
  </table>
... ...
@@ -1,10 +1,15 @@
1 1
 {% includes "__scion_macros.scion" %}
2
-{% result = @() %}
3
-{% fileManager = [NSFileManager defaultManager] %}
4
-{% for file in [[fileManager directoryContentsAtPath:@"/tmp"] sortedArrayUsingSelector:@selector( compare:)] %}
5
-  {% if [file hasSuffix:@".scion"] and not [file hasPrefix:@"~"] and not [file hasPrefix:@"_"] and not [file hasPrefix:@"index."] and not [file hasPrefix:@"error"]  %}
6
-  {% [result addObject:file] %}
7
-  {%endif %}
8
-{% endfor %}
2
+{% result = @();
3
+   fileManager = [NSFileManager defaultManager];
4
+   for file in [[fileManager directoryContentsAtPath:@"/tmp"] sortedArrayUsingSelector:@selector( compare:)]
5
+      if [file hasSuffix:@".scion"] and 
6
+         not [file hasPrefix:@"~"] and
7
+         not [file hasPrefix:@"_"] and 
8
+         not [file hasPrefix:@"index."] and 
9
+         not [file hasPrefix:@"error"]
10
+         [result addObject:file];
11
+      endif
12
+   endfor 
13
+ %}
9 14
 {##}
10 15
 {{ html_file_list_table( file_list=result) }}
... ...
@@ -5,16 +5,17 @@
5 5
 <pre>{% filter htmlEscapedString %}{% includes verbatim "{$ WRAPPED_TEMPLATE $}" %}{% endfilter %}</pre>
6 6
 <h2>Results</h2>
7 7
 <pre>{% includes "{$ WRAPPED_TEMPLATE $}" %}</pre>
8
-{% endblock contents %}
8
+{% endblock %}
9 9
 
10 10
 
11 11
 {% block scion_navigation_extension %}
12 12
  {##}
13
- {% dependencyTable = [MulleScionTemplate dependencyTableOfFile:"{$ WRAPPED_TEMPLATE $}"] %}
14
- {% value          = dependencyTable[ "{$ WRAPPED_TEMPLATE $}"] %}
13
+ {% dependencyTable = [MulleScionTemplate dependencyTableOfFile:"{$ WRAPPED_TEMPLATE $}"];
14
+   value = dependencyTable[ "{$ WRAPPED_TEMPLATE $}"];
15
+  %}
15 16
  {% if [value count] %}
16
-  <hr>
17 17
   {% result = [[value allObjects] sortedArrayUsingSelector:@selector( compare:)] %}
18
+  <hr>
18 19
   {{ html_file_list_table( file_list=result) }}
19 20
  {% endif %}
20 21
 {% endblock %}
... ...
@@ -1,6 +1,9 @@
1
-Set is used to asssing values to variables. You may omit the Set keyword if you
1
+Set is used to assigning values to variables. You may omit the Set keyword if you
2 2
 want.
3 3
 
4
-{% set foo = @"value" %}
5
-{{ foo }}
4
+{% set foo = [NSMutableDictionary dictionary];
5
+   foo[ @"key"] = @"a value"
6
+%}
7
+
8
+{{ foo[ @"key"] }}
6 9
 
7 10
deleted file mode 100644
... ...
@@ -1,28 +0,0 @@
1
-{% macro name( name, xxx) %}
2
- {{ name }}
3
- {{ xxx }}
4
-{% endmacro %}
5
-
6
-{% macro stress( name) %}
7
-{% if name %}     // want change here
8
-{% endif %}
9
-{% while name %}  // want change here
10
-{% endif %}
11
-{% for name in name %}  // want change only in second I guess
12
-{% endif %}
13
-
14
-{{ name ? name : name }}  // change all
15
-{{ name | name }}  // change all
16
-{{ name . name }}  // change all
17
-{{ name and name or name and not name }}  // change all
18
-
19
-{% [name call:name] %}         // dont't change target
20
-
21
-{% name( xxx=name, name=xxx) %} // change first parameter value only
22
-
23
-{% set name = name %}  // only change expr (second)
24
-{% endif %}
25
-
26
-{% endmacro %}
27
-
28
-{{ stress( nil) }}