• R/O
  • SSH

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2


Commit MetaInfo

Révision7d5caf66e65b91878bd51a52ac9241cbc56e73bd (tree)
l'heure2023-09-29 04:44:36
AuteurAlbert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Message de Log

ASIS/BUSY: Protocol-with-parms: rendering with types seems oke - more tests needed (and a bit of design

Change Summary

Modification

diff -r 1cfd23275f86 -r 7d5caf66e65b Makefile
--- a/Makefile Thu Sep 28 18:04:14 2023 +0200
+++ b/Makefile Thu Sep 28 21:44:36 2023 +0200
@@ -1,6 +1,7 @@
11 default: all
22
33 all: current demo test mutmut pyanalyse XXX missing todo diff_TestDoubles
4+
45 NOTES: CC2CpyNote
56 include Mk/RPy.mk
67
@@ -28,7 +29,7 @@
2829 include Mk/testing.mk
2930 include Mk/helpful.mk
3031
31-diff_TestDoubles:
32+diff_TestDoubles:
3233 diff -w -rs TestDoubles/reference/ TestDoubles/_generated/
3334
3435 missing: missing_visitor missing_serialization
diff -r 1cfd23275f86 -r 7d5caf66e65b TestDoubles/reference/protocols/StartSieve.rpy
--- a/TestDoubles/reference/protocols/StartSieve.rpy Thu Sep 28 18:04:14 2023 +0200
+++ b/TestDoubles/reference/protocols/StartSieve.rpy Thu Sep 28 21:44:36 2023 +0200
@@ -3,7 +3,6 @@
33 # (C) Albert Mietus, 2023. Part of Castle/CCastle project
44
55 ####
6-
76 from CC import buildin
87 from CC import base
98
@@ -19,9 +18,6 @@
1918 CC_P_StartSieve_newMax = 1
2019
2120
22-
23-
24-
2521 cc_P_StartSieve = buildin.CC_B_Protocol(name="StartSieve",
2622 kind=buildin.ProtocolKind.Event,
2723 inherit_from=cc_P_Protocol
diff -r 1cfd23275f86 -r 7d5caf66e65b castle/writers/RPy/templates/ProtocolDataStructures.jinja2
--- a/castle/writers/RPy/templates/ProtocolDataStructures.jinja2 Thu Sep 28 18:04:14 2023 +0200
+++ b/castle/writers/RPy/templates/ProtocolDataStructures.jinja2 Thu Sep 28 21:44:36 2023 +0200
@@ -3,9 +3,7 @@
33 {# parameters: ``protocols``: PTH.Sequence[aigr.EventProtocol]
44 #}
55
6-{% import "CastleMacros.jinja2" as m %}
7-
8-{#GAM Note: do not put {% block ... inside the loop - does not work#}
6+{%- import "CastleMacros.jinja2" as m -%}
97
108 {%- macro Str_or_Type(t) -%}
119 {%- if t is string -%}
@@ -15,7 +13,7 @@
1513 {%- endif -%}
1614 {%- endmacro -%}
1715
18-{% for proto in protocols %}
16+{%- for proto in protocols %}
1917 {{- m.ProtocolName(proto.name) }} = buildin.CC_B_Protocol(name="{{ proto.name }}",
2018 {% if proto.typedParameters %}
2119 parameters=(
diff -r 1cfd23275f86 -r 7d5caf66e65b castle/writers/RPy/templates/protocol.jinja2
--- a/castle/writers/RPy/templates/protocol.jinja2 Thu Sep 28 18:04:14 2023 +0200
+++ b/castle/writers/RPy/templates/protocol.jinja2 Thu Sep 28 21:44:36 2023 +0200
@@ -8,7 +8,6 @@
88 # {#- Hi-lock: (( "{[{%#]\\|[}%#]}" (0 'markdown-language-keyword-face prepend))) -#}
99 # {#- Hi-lock: end -- highlight jinja2 #}
1010
11-
1211 {% import "CastleMacros.jinja2" as m1 %}
1312 {#------------------------------------#}
1413