• R/O
  • SSH

Commit

Tags
No Tags

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

Revisionf6cf54edd1d222f248b9fd9c79009200d35e3cf9 (tree)
Time2024-04-28 19:25:27
AuthorAlbert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Log Message

asis

Change Summary

Incremental Difference

diff -r a810178d422c -r f6cf54edd1d2 base_packages/castle-aigr/castle/aigr/expressions/expr_with_op.py
--- a/base_packages/castle-aigr/castle/aigr/expressions/expr_with_op.py Mon Apr 22 23:13:58 2024 +0200
+++ b/base_packages/castle-aigr/castle/aigr/expressions/expr_with_op.py Sun Apr 28 12:25:27 2024 +0200
@@ -14,10 +14,9 @@
1414
1515
1616 #ToDo: option: Replace BinExpr by a more general (liniar, LR Expression sommething
17-
1817 @dataclass
1918 class BinExpr(_expression):
20- """A `BinExpr` models any expression two attributes (and an operator).
19+ """A `BinExpr` models any expression two attributes (and an operator).
2120
2221 Such a "binary expression" is very typical, usually written in infix nation, like `1+2`. It has
2322 tree "kids", the left and right (value) attributes, and an operator.
diff -r a810178d422c -r f6cf54edd1d2 base_packages/castle-aigr/pytst/expressions/test_binOp.py
--- a/base_packages/castle-aigr/pytst/expressions/test_binOp.py Mon Apr 22 23:13:58 2024 +0200
+++ b/base_packages/castle-aigr/pytst/expressions/test_binOp.py Sun Apr 28 12:25:27 2024 +0200
@@ -74,3 +74,9 @@
7474 (builders.Sub, '-'),
7575 ]:
7676 quick_verify_binOp(builder, opstr)
77+
78+
79+@pytest.mark.skip("Todo: Replace BinExpr by a more general (liniar, LR Expression sommething")
80+def test_99_ReplaceBinExpr():
81+ assert False, "The 'BinExpr' should become more general, like LRExpression, with 1 op and many values"
82+
diff -r a810178d422c -r f6cf54edd1d2 base_packages/castle-aigr/pytst/expressions/test_compare.py
--- a/base_packages/castle-aigr/pytst/expressions/test_compare.py Mon Apr 22 23:13:58 2024 +0200
+++ b/base_packages/castle-aigr/pytst/expressions/test_compare.py Sun Apr 28 12:25:27 2024 +0200
@@ -3,7 +3,7 @@
33 import logging; logger = logging.getLogger(__name__)
44
55 import pytest
6-from .. import verifyKids
6+from .. import verifyKids
77
88 from castle.aigr import expressions
99 from castle.aigr.expressions import operators