Permalink
Browse files

πŸ†• Multiple languages supported for the `` operator.

  • Loading branch information...
neilellis committed Aug 24, 2017
1 parent 0d001c8 commit ace36df160c6253139c5bcba8b621498f98910ae
Showing with 1,629 additions and 1,443 deletions.
  1. +1 βˆ’1 dollar-core/README.md
  2. +1 βˆ’0 dollar-core/pom.xml
  3. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/BooleanAware.java
  4. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/CollectionAware.java
  5. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/Configuration.java
  6. +4 βˆ’4 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/ControlFlowAware.java
  7. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/DollarException.java
  8. +11 βˆ’11 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/DollarStatic.java
  9. +3 βˆ’3 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/DollarThreadContext.java
  10. +8 βˆ’8 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/ErrorAware.java
  11. +4 βˆ’4 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/LogAware.java
  12. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/MetadataAware.java
  13. +7 βˆ’9 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/NumericAware.java
  14. +4 βˆ’4 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/PipeAware.java
  15. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/Pipeable.java
  16. +7 βˆ’5 ...t/src/main/java/dollar/internal/runtime/script β†’ dollar-core/src/main/java/dollar}/api/Scope.java
  17. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/Signal.java
  18. +4 βˆ’4 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/StateAware.java
  19. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/StateTracer.java
  20. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/StringAware.java
  21. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/SystemPropertyConfiguration.java
  22. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/Type.java
  23. +13 βˆ’12 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/TypeAware.java
  24. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/TypePrediction.java
  25. +6 βˆ’6 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/URIAware.java
  26. +3 βˆ’3 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/Unit.java
  27. +7 βˆ’7 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/VarInternal.java
  28. +12 βˆ’4 ...rc/main/java/dollar/internal/runtime/script β†’ dollar-core/src/main/java/dollar}/api/Variable.java
  29. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/collections/CollectionUtil.java
  30. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/collections/ImmutableList.java
  31. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/collections/ImmutableMap.java
  32. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/collections/MultiHashMap.java
  33. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/collections/MultiMap.java
  34. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/collections/Range.java
  35. +3 βˆ’3 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/exceptions/DollarFailureException.java
  36. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/exceptions/LambdaRecursionException.java
  37. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/exceptions/SingleValueException.java
  38. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/exceptions/ValidationException.java
  39. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/execution/DefaultDollarExecutor.java
  40. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/execution/DollarExecutor.java
  41. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/AllVarCollectionGuard.java
  42. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/AllVarMapGuard.java
  43. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/ChainGuard.java
  44. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/Guard.java
  45. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/Guarded.java
  46. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/Guards.java
  47. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/NotNullCollectionGuard.java
  48. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/NotNullGuard.java
  49. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/NotNullParametersGuard.java
  50. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/ReturnVarOnlyGuard.java
  51. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/SetKeyValueGuard.java
  52. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/VarOnlyGuard.java
  53. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/guard/VarParametersOnlyGuard.java
  54. +6 βˆ’6 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/js/JSFileScript.java
  55. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/DecodeException.java
  56. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/EncodeException.java
  57. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/ImmutableJsonObject.java
  58. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/JsonArray.java
  59. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/JsonElement.java
  60. +4 βˆ’4 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/JsonObject.java
  61. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/JsonUtil.java
  62. +4 βˆ’4 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/json/impl/Json.java
  63. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/monitor/DollarMonitor.java
  64. +7 βˆ’7 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/monitor/SimpleLogStateTracer.java
  65. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/plugin/ExtensionPoint.java
  66. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/plugin/NoOpProxy.java
  67. +4 βˆ’3 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/plugin/Plugins.java
  68. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/plugin/SingletonExtensionPoint.java
  69. +4 βˆ’4 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/script/ModuleResolver.java
  70. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/script/SourceSegment.java
  71. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/script/TypeLearner.java
  72. +29 βˆ’0 dollar-core/src/main/java/dollar/api/scripting/ScriptingLanguage.java
  73. +53 βˆ’0 dollar-core/src/main/java/dollar/api/scripting/ScriptingSupport.java
  74. +7 βˆ’8 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/time/Scheduler.java
  75. +14 βˆ’15 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/AbstractDollar.java
  76. +8 βˆ’8 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/AbstractDollarSingleValue.java
  77. +3 βˆ’3 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/ConstraintViolation.java
  78. +18 βˆ’18 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarBlockCollection.java
  79. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarBoolean.java
  80. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarDate.java
  81. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarDecimal.java
  82. +6 βˆ’6 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarError.java
  83. +23 βˆ’25 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarFactory.java
  84. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarFuture.java
  85. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarGuard.java
  86. +10 βˆ’12 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarInfinity.java
  87. +5 βˆ’5 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarInteger.java
  88. +12 βˆ’13 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarLambda.java
  89. +21 βˆ’24 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarList.java
  90. +11 βˆ’13 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarMap.java
  91. +6 βˆ’6 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarNull.java
  92. +12 βˆ’12 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarQueue.java
  93. +7 βˆ’7 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarRange.java
  94. +11 βˆ’11 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarString.java
  95. +12 βˆ’12 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarURI.java
  96. +8 βˆ’8 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarVoid.java
  97. +12 βˆ’12 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/DollarWrapper.java
  98. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/ErrorType.java
  99. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/ResourceState.java
  100. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/SerializedType.java
  101. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/meta/MetaConstants.java
  102. +3 βˆ’3 ...r-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/prediction/CountBasedTypePrediction.java
  103. +3 βˆ’3 ...-core/src/main/java/{com/sillelien β†’ }/dollar/api/types/prediction/SingleValueTypePrediction.java
  104. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/uri/URI.java
  105. +14 βˆ’15 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/uri/URIHandler.java
  106. +2 βˆ’2 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/uri/URIHandlerFactory.java
  107. +15 βˆ’15 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/api/var.java
  108. +1 βˆ’1 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/test/CircleCiParallelRule.java
  109. +36 βˆ’31 dollar-core/src/main/java/{com/sillelien β†’ }/dollar/test/TestGenerator.java
  110. +1 βˆ’1 .../{com.sillelien.dollar.api.execution.DollarExecutor β†’ dollar.dollar.api.execution.DollarExecutor}
  111. +0 βˆ’140 dollar-core/src/test/java/com/sillelien/dollar/DollarBasicTest.java
  112. +0 βˆ’110 dollar-core/src/test/java/com/sillelien/dollar/DollarTypeTest.java
  113. +1 βˆ’1 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DocTest.java
  114. +3 βˆ’3 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DocTestingVisitor.java
  115. +8 βˆ’9 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarArrayTest.java
  116. +3 βˆ’3 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarControlFlowTest.java
  117. +3 βˆ’3 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarErrorTest.java
  118. +6 βˆ’8 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarHttpTest.java
  119. +3 βˆ’3 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarMapTest.java
  120. +18 βˆ’18 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarNumberTest.java
  121. +6 βˆ’7 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarOperatorsRegressionTest.java
  122. +6 βˆ’8 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarPubSubTest.java
  123. +4 βˆ’4 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarQueueTest.java
  124. +9 βˆ’8 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarRangeTest.java
  125. +6 βˆ’8 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarRedisTest.java
  126. +4 βˆ’5 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarVoidTest.java
  127. +5 βˆ’5 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/DollarYamlTest.java
  128. +2 βˆ’2 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/FromJsonStringTest.java
  129. +10 βˆ’11 dollar-core/src/test/java/{com/sillelien β†’ }/dollar/ToStringTest.java
  130. +14 βˆ’14 dollar-core/src/test/resources/plus.all.ds
  131. +17 βˆ’17 dollar-core/src/test/resources/plus.all.json
  132. +2 βˆ’2 dollar-core/src/test/resources/plus.minimal.ds
  133. +2 βˆ’2 dollar-core/src/test/resources/plus.minimal.json
  134. +1 βˆ’1 dollar-docs/src/main/java/{com/sillelien β†’ }/dollar/docs/ParseDocs.java
  135. +6 βˆ’5 dollar-docs/src/main/resources/pages/manual.md
  136. +1 βˆ’1 dollar-docs/src/test/java/{com/sillelien β†’ }/dollar/docs/DocTest.java
  137. +5 βˆ’0 dollar-examples/pom.xml
  138. +1 βˆ’1 dollar-examples/src/main/java/HelloUnit.java
  139. +1 βˆ’1 dollar-examples/src/main/java/{com/sillelien β†’ }/dollar/Bulletin.java
  140. +1 βˆ’1 dollar-examples/src/main/java/{com/sillelien β†’ }/dollar/ExampleApp.java
  141. +2 βˆ’2 dollar-examples/src/main/java/{com/sillelien β†’ }/dollar/SecondUnit.java
  142. +2 βˆ’2 dollar-examples/src/main/java/{com/sillelien β†’ }/dollar/pipe/ExtractName.java
  143. +3 βˆ’3 dollar-examples/src/main/java/{com/sillelien β†’ }/dollar/pipe/FirstUnit.java
  144. +2 βˆ’2 dollar-examples/src/main/java/{com/sillelien β†’ }/dollar/pipe/WelcomeMessage.java
  145. +14 βˆ’14 dollar-examples/src/main/resources/regression/operators/plus.all.ds
  146. +2 βˆ’2 dollar-examples/src/main/resources/regression/operators/plus.minimal.ds
  147. +1 βˆ’1 dollar-examples/src/main/resources/test_java.ds
  148. +0 βˆ’28 dollar-examples/src/test/java/com/sillelien/dollar/TestPipe.java
  149. +140 βˆ’0 dollar-examples/src/test/java/dollar/DollarBasicTest.java
  150. +7 βˆ’7 ...ar-core/src/test/java/com/sillelien β†’ dollar-examples/src/test/java}/dollar/DollarLambdaTest.java
  151. +1 βˆ’1 dollar-examples/src/test/java/{com/sillelien β†’ }/dollar/DollarParserTest.java
  152. +5 βˆ’5 dollar-examples/src/test/java/{com/sillelien β†’ }/dollar/DollarSerializationTest.java
  153. +111 βˆ’0 dollar-examples/src/test/java/dollar/DollarTypeTest.java
  154. +29 βˆ’0 dollar-examples/src/test/java/dollar/TestPipe.java
  155. +4 βˆ’4 dollar-examples/src/test/java/dollar/internal/runtime/script/ParserTest.java
  156. +14 βˆ’14 dollar-examples/src/test/java/{com/sillelien β†’ }/dollar/json/JsonUtilTest.java
  157. +4 βˆ’4 ...ass-resolver-plugin/src/main/java/{com/sillelien β†’ }/dollar/plugins/pipe/ClassModuleResolver.java
  158. +1 βˆ’1 ...-INF/services/{com.sillelien.dollar.api.script.ModuleResolver β†’ dollar.api.script.ModuleResolver}
  159. +2 βˆ’2 ...s/dollar-github-resolver-plugin/src/main/java/{com/sillelien β†’ }/dollar/plugins/pipe/GitUtil.java
  160. +9 βˆ’9 ...ub-resolver-plugin/src/main/java/{com/sillelien β†’ }/dollar/plugins/pipe/GithubModuleResolver.java
  161. +1 βˆ’1 ...-INF/services/{com.sillelien.dollar.api.script.ModuleResolver β†’ dollar.api.script.ModuleResolver}
  162. +9 βˆ’9 dollar-plugins/dollar-http-plugin/src/main/java/{com/sillelien β†’ }/dollar/http/HttpURIHandler.java
  163. +4 βˆ’4 ...lugins/dollar-http-plugin/src/main/java/{com/sillelien β†’ }/dollar/http/HttpURIHandlerFactory.java
  164. +1 βˆ’1 dollar-plugins/dollar-http-plugin/src/main/java/{com/sillelien β†’ }/dollar/http/NanoHttpdServer.java
  165. +1 βˆ’1 ...-INF/services/{com.sillelien.dollar.api.uri.URIHandlerFactory β†’ dollar.api.uri.URIHandlerFactory}
  166. +53 βˆ’0 dollar-plugins/dollar-java-plugin/pom.xml
  167. +47 βˆ’0 dollar-plugins/dollar-java-plugin/src/main/assembly/assembly.xml
  168. +50 βˆ’18 ...ort.java β†’ dollar-plugins/dollar-java-plugin/src/main/java/dollar/java/JavaScriptingLanguage.java
  169. +1 βˆ’1 ...pt β†’ dollar-plugins/dollar-java-plugin/src/main/java/dollar}/java/JavaScriptingStaticImports.java
  170. +1 βˆ’1 ...β†’ dollar-java-plugin/src/main/resources/META-INF/services/dollar.api.scripting.ScriptingLanguage}
  171. +3 βˆ’3 ...ugins/dollar-mapdb-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/mapdb/AbstractMapDBURI.java
  172. +16 βˆ’18 ...plugins/dollar-mapdb-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/mapdb/MapDBCircleURI.java
  173. +11 βˆ’11 ...ar-plugins/dollar-mapdb-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/mapdb/MapDBMapURI.java
  174. +5 βˆ’5 ...lugins/dollar-mapdb-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/mapdb/MapDBURIFactory.java
  175. +1 βˆ’1 ...ar-plugins/dollar-mapdb-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/mapdb/MapListener.java
  176. +6 βˆ’7 ...-plugins/dollar-mapdb-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/mapdb/VarSerializer.java
  177. +1 βˆ’1 ...-INF/services/{com.sillelien.dollar.api.uri.URIHandlerFactory β†’ dollar.api.uri.URIHandlerFactory}
  178. +5 βˆ’5 ...ven-resolver-plugin/src/main/java/{com/sillelien β†’ }/dollar/plugins/pipe/MavenModuleResolver.java
  179. +17 βˆ’0 ...ollar-maven-resolver-plugin/src/main/resources/META-INF/services/dollar.api.script.ModuleResolver
  180. +2 βˆ’2 ...plugins/dollar-metrics-plugin/src/main/java/{com/sillelien β†’ }/dollar/monitor/MetricsMonitor.java
  181. +1 βˆ’1 ...rvices/{com.sillelien.dollar.api.monitor.DollarMonitor β†’ dollar.dollar.api.monitor.DollarMonitor}
  182. +16 βˆ’18 ...ar-plugins/dollar-redis-plugin/src/main/java/{com/sillelien β†’ }/dollar/redis/RedisURIHandler.java
  183. +4 βˆ’4 ...ins/dollar-redis-plugin/src/main/java/{com/sillelien β†’ }/dollar/redis/RedisURIHandlerFactory.java
  184. +1 βˆ’1 ...-INF/services/{com.sillelien.dollar.api.uri.URIHandlerFactory β†’ dollar.api.uri.URIHandlerFactory}
  185. +4 βˆ’4 ...ion-plugin/src/main/java/{com/sillelien β†’ }/dollar/execution/simple/ScopeAwareDollarExecutor.java
  186. +1 βˆ’1 ...ervices/{com.sillelien.dollar.api.execution.DollarExecutor β†’ dollar.api.execution.DollarExecutor}
  187. +10 βˆ’10 ...mple-learner-plugin/src/main/java/{com/sillelien β†’ }/dollar/learner/simple/SimpleTypeLearner.java
  188. +0 βˆ’66 ...e-learner-plugin/src/main/resources/META-INF/services/com.sillelien.dollar.api.script.TypeLearner
  189. +2 βˆ’0 ...s/dollar-simple-learner-plugin/src/main/resources/META-INF/services/dollar.api.script.TypeLearner
  190. +5 βˆ’5 ...ar-socketio-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/socketio/SocketIOSubscription.java
  191. +4 βˆ’4 ...llar-socketio-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/socketio/SocketIOURIFactory.java
  192. +6 βˆ’6 ...dollar-socketio-plugin/src/main/java/{com/sillelien β†’ }/dollar/uri/socketio/SocketURIHandler.java
  193. +1 βˆ’1 ...-INF/services/{com.sillelien.dollar.api.uri.URIHandlerFactory β†’ dollar.api.uri.URIHandlerFactory}
  194. +11 βˆ’11 ...resources-plugin/src/main/java/{com/sillelien β†’ }/dollar/resources/std/RandomResourceFactory.java
  195. +1 βˆ’1 ...-INF/services/{com.sillelien.dollar.api.uri.URIHandlerFactory β†’ dollar.api.uri.URIHandlerFactory}
  196. +1 βˆ’0 dollar-plugins/pom.xml
  197. +1 βˆ’1 dollar-resolver/src/main/java/{com/sillelien β†’ }/dollar/deps/DependencyRetriever.java
  198. +1 βˆ’1 dollar-resolver/src/main/java/{com/sillelien β†’ }/dollar/deps/JarFileLoader.java
  199. +0 βˆ’37 dollar-runtime/src/test/java/com/sillelien/dollar/DollarDependenciesTest.java
  200. +37 βˆ’0 dollar-runtime/src/test/java/dollar/DollarDependenciesTest.java
  201. +2 βˆ’2 dollar-script/src/main/java/dollar/internal/runtime/script/BinaryOp.java
  202. +1 βˆ’1 dollar-script/src/main/java/dollar/internal/runtime/script/BlockScope.java
  203. +3 βˆ’3 dollar-script/src/main/java/dollar/internal/runtime/script/Builtin.java
  204. +7 βˆ’7 dollar-script/src/main/java/dollar/internal/runtime/script/Builtins.java
  205. +1 βˆ’1 dollar-script/src/main/java/dollar/internal/runtime/script/CodeExtractionVisitor.java
  206. +9 βˆ’9 dollar-script/src/main/java/dollar/internal/runtime/script/DollarLexer.java
  207. +28 βˆ’23 dollar-script/src/main/java/dollar/internal/runtime/script/DollarParserImpl.java
  208. +10 βˆ’10 dollar-script/src/main/java/dollar/internal/runtime/script/DollarScriptSupport.java
  209. +13 βˆ’13 dollar-script/src/main/java/dollar/internal/runtime/script/Func.java
  210. +1 βˆ’1 dollar-script/src/main/java/dollar/internal/runtime/script/Operator.java
  211. +5 βˆ’5 dollar-script/src/main/java/dollar/internal/runtime/script/ParserErrorHandlerImpl.java
  212. +8 βˆ’8 dollar-script/src/main/java/dollar/internal/runtime/script/PureScope.java
  213. +1 βˆ’1 dollar-script/src/main/java/dollar/internal/runtime/script/ScopeExecutable.java
  214. +20 βˆ’13 dollar-script/src/main/java/dollar/internal/runtime/script/ScriptScope.java
  215. +16 βˆ’16 dollar-script/src/main/java/dollar/internal/runtime/script/SourceNode.java
  216. +2 βˆ’2 dollar-script/src/main/java/dollar/internal/runtime/script/SourceSegmentValue.java
  217. +2 βˆ’2 dollar-script/src/main/java/dollar/internal/runtime/script/TestPipe.java
  218. +2 βˆ’2 dollar-script/src/main/java/dollar/internal/runtime/script/UnaryOp.java
  219. +2 βˆ’2 dollar-script/src/main/java/dollar/internal/runtime/script/UnaryOperator.java
  220. +2 βˆ’1 dollar-script/src/main/java/dollar/internal/runtime/script/api/DollarParser.java
  221. +4 βˆ’3 dollar-script/src/main/java/dollar/internal/runtime/script/api/ParserErrorHandler.java
  222. +2 βˆ’2 ...-script/src/main/java/dollar/internal/runtime/script/api/exceptions/DollarAssertionException.java
  223. +1 βˆ’1 dollar-script/src/main/java/dollar/internal/runtime/script/api/exceptions/DollarParserError.java
  224. +3 βˆ’3 dollar-script/src/main/java/dollar/internal/runtime/script/api/exceptions/DollarScriptException.java
  225. +1 βˆ’1 ...ipt/src/main/java/dollar/internal/runtime/script/api/exceptions/DollarScriptFailureException.java
  226. +2 βˆ’2 dollar-script/src/main/java/dollar/internal/runtime/script/api/exceptions/PureFunctionException.java
  227. +1 βˆ’1 dollar-script/src/main/java/dollar/internal/runtime/script/api/exceptions/SyntaxException.java
  228. +1 βˆ’1 ...script/src/main/java/dollar/internal/runtime/script/api/exceptions/VariableNotFoundException.java
  229. +9 βˆ’9 dollar-script/src/main/java/dollar/internal/runtime/script/operators/AssignmentOperator.java
  230. +8 βˆ’8 dollar-script/src/main/java/dollar/internal/runtime/script/operators/CollectOperator.java
  231. +5 βˆ’5 dollar-script/src/main/java/dollar/internal/runtime/script/operators/DefinitionOperator.java
  232. +4 βˆ’4 dollar-script/src/main/java/dollar/internal/runtime/script/operators/ParameterOperator.java
  233. +4 βˆ’4 dollar-script/src/main/java/dollar/internal/runtime/script/operators/PureDefinitionOperator.java
  234. +5 βˆ’5 dollar-script/src/main/java/dollar/internal/runtime/script/parser/Symbols.java
  235. +3 βˆ’3 dollar-script/src/main/java/{com/sillelien β†’ }/dollar/main/ParserMain.java
  236. 0 dollar-script/src/main/resources/examples/op/java.ds
  237. 0 dollar-script/src/main/resources/examples/op/java.md
  238. +5 βˆ’0 dollar-script/src/main/resources/examples/op/script.ds
  239. +2 βˆ’0 dollar-script/src/main/resources/examples/op/script.md
View
@@ -38,7 +38,7 @@ ${BLURB}
Every example you see below is *Java* I emphasize that as it may not look familiar to you, that is intentional - I have done my best to make it clear that you are working with **untyped** objects, to avoid confusion.
All static methods such as `$()` can be accessed by importing `import static com.sillelien.dollar.api.DollarStatic.*;`
All static methods such as `$()` can be accessed by importing `import static DollarStatic.*;`
## Creating objects
View
@@ -125,6 +125,7 @@
</dependency>
<!--Test Deps-->
<dependency>
<groupId>org.pegdown</groupId>
<artifactId>pegdown</artifactId>
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
public interface BooleanAware {
@@ -14,12 +14,12 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullGuard;
import com.sillelien.dollar.api.guard.NotNullParametersGuard;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullGuard;
import dollar.api.guard.NotNullParametersGuard;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
public interface Configuration {
/**
@@ -14,11 +14,11 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullGuard;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullGuard;
import org.jetbrains.annotations.NotNull;
public interface ControlFlowAware {
@@ -14,9 +14,9 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.script.SourceSegment;
import dollar.api.script.SourceSegment;
import org.jetbrains.annotations.NotNull;
import java.lang.reflect.InvocationTargetException;
@@ -14,17 +14,17 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
import com.sillelien.dollar.api.collections.ImmutableList;
import com.sillelien.dollar.api.collections.MultiMap;
import com.sillelien.dollar.api.json.JsonArray;
import com.sillelien.dollar.api.json.JsonObject;
import com.sillelien.dollar.api.monitor.DollarMonitor;
import com.sillelien.dollar.api.monitor.SimpleLogStateTracer;
import com.sillelien.dollar.api.types.DollarFactory;
import com.sillelien.dollar.api.types.DollarFuture;
import com.sillelien.dollar.api.uri.URI;
package dollar.api;
import dollar.api.collections.ImmutableList;
import dollar.api.collections.MultiMap;
import dollar.api.json.JsonArray;
import dollar.api.json.JsonObject;
import dollar.api.monitor.DollarMonitor;
import dollar.api.monitor.SimpleLogStateTracer;
import dollar.api.types.DollarFactory;
import dollar.api.types.DollarFuture;
import dollar.api.uri.URI;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -14,10 +14,10 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.monitor.DollarMonitor;
import com.sillelien.dollar.api.plugin.Plugins;
import dollar.api.monitor.DollarMonitor;
import dollar.api.plugin.Plugins;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
@@ -14,14 +14,14 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
import com.sillelien.dollar.api.collections.ImmutableList;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullCollectionGuard;
import com.sillelien.dollar.api.guard.NotNullParametersGuard;
import com.sillelien.dollar.api.types.ErrorType;
package dollar.api;
import dollar.api.collections.ImmutableList;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullCollectionGuard;
import dollar.api.guard.NotNullParametersGuard;
import dollar.api.types.ErrorType;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@@ -14,11 +14,11 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullGuard;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullGuard;
import org.jetbrains.annotations.NotNull;
public interface LogAware {
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -14,17 +14,15 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullGuard;
import com.sillelien.dollar.api.guard.NotNullParametersGuard;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullGuard;
import dollar.api.guard.NotNullParametersGuard;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import static com.sillelien.dollar.api.DollarStatic.$;
public interface NumericAware {
@@ -48,7 +46,7 @@
@Guarded(ChainGuard.class)
@NotNull
default var $dec() {
return $minus($(1));
return $minus(DollarStatic.$(1));
}
/**
@@ -109,7 +107,7 @@
@Guarded(NotNullGuard.class)
@Guarded(ChainGuard.class)
default var $inc() {
return $plus($(1));
return $plus(DollarStatic.$(1));
}
/**
@@ -14,11 +14,11 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullGuard;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullGuard;
import org.jetbrains.annotations.NotNull;
@Deprecated
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import org.jetbrains.annotations.NotNull;
@@ -14,15 +14,14 @@
* limitations under the License.
*/
package dollar.internal.runtime.script.api;
package dollar.api;
import com.sillelien.dollar.api.Pipeable;
import com.sillelien.dollar.api.collections.MultiMap;
import com.sillelien.dollar.api.script.SourceSegment;
import com.sillelien.dollar.api.var;
import dollar.api.collections.MultiMap;
import dollar.api.script.SourceSegment;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
import java.util.Map;
public interface Scope {
@@ -109,4 +108,7 @@
void destroy();
boolean pure();
List<var> getParametersAsVars();
}
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
public enum Signal {
STOP, CREATE, DESTROY, PAUSE, UNPAUSE, START
@@ -14,12 +14,12 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.github.oxo42.stateless4j.StateMachine;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullGuard;
import com.sillelien.dollar.api.types.ResourceState;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullGuard;
import dollar.api.types.ResourceState;
import org.jetbrains.annotations.NotNull;
public interface StateAware<R extends StateAware<R>> {
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import org.jetbrains.annotations.NotNull;
@@ -14,9 +14,9 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.types.DollarFactory;
import dollar.api.types.DollarFactory;
import org.jetbrains.annotations.NotNull;
/**
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
@SuppressWarnings("PointlessBooleanExpression")
public class SystemPropertyConfiguration implements Configuration {
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
@@ -14,17 +14,18 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
import com.sillelien.dollar.api.collections.ImmutableList;
import com.sillelien.dollar.api.collections.ImmutableMap;
import com.sillelien.dollar.api.guard.AllVarCollectionGuard;
import com.sillelien.dollar.api.guard.AllVarMapGuard;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullCollectionGuard;
import com.sillelien.dollar.api.guard.NotNullGuard;
import com.sillelien.dollar.api.types.DollarFactory;
package dollar.api;
import dollar.api.collections.ImmutableList;
import dollar.api.collections.ImmutableMap;
import dollar.api.guard.AllVarCollectionGuard;
import dollar.api.guard.AllVarMapGuard;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullCollectionGuard;
import dollar.api.guard.NotNullGuard;
import dollar.api.types.DollarFactory;
import dollar.api.types.ErrorType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -35,7 +36,7 @@
/**
* Cast this object to the {@link Type} specified. If the object cannot be converted it will fail with {@link
* com.sillelien.dollar.api.types.ErrorType#INVALID_CAST}*
* ErrorType#INVALID_CAST}*
*
* @param type the type to cast to
* @return this casted
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -14,13 +14,13 @@
* limitations under the License.
*/
package com.sillelien.dollar.api;
package dollar.api;
import com.sillelien.dollar.api.guard.ChainGuard;
import com.sillelien.dollar.api.guard.Guarded;
import com.sillelien.dollar.api.guard.NotNullParametersGuard;
import com.sillelien.dollar.api.types.DollarFactory;
import com.sillelien.dollar.api.types.ErrorType;
import dollar.api.guard.ChainGuard;
import dollar.api.guard.Guarded;
import dollar.api.guard.NotNullParametersGuard;
import dollar.api.types.DollarFactory;
import dollar.api.types.ErrorType;
import org.jetbrains.annotations.NotNull;
import java.util.UUID;
Oops, something went wrong.

0 comments on commit ace36df

Please sign in to comment.