@cella-lang/cpp 0.1.202611062242 → 0.1.202611070006

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.md CHANGED
@@ -5,6 +5,7 @@
5
5
 
6
6
  ## 未發佈
7
7
 
8
+ - **之前判 reject、現在判 accept**(0.1.202611061934 的退步):型別只由推導得到的類別樣板實例(`auto t = make_tuple(1, 2, 3); auto [a, b, c] = t;`),函式定義當下也看得到([temp.inst]p2:隱式實例化在需要的地方就完整)。之前判 reject「a structured binding needs an array, a struct or a class」。用名字定義、在函式之後才定義的類別照舊判 reject。
8
9
  - **新增 `cpp.verdictReport`**(和 `cpp.verdict` 同參數、同型別):判決的 JSON 原封不動,最後多一個 `"steps": N`——這次執行用掉
9
10
  的模型步數(單位同 fuel;fuel 用完時等於 fuel;沒跑到執行的是 0)。同一個版本、程式、輸入,在每個宿主上相同。`cpp.verdict`
10
11
  不變。(`cpp.report` 是除錯工作階段的報告,照舊。)
package/cpp.arrays.cell CHANGED
Binary file
package/cpp.cell CHANGED
Binary file
package/cpp.classes.cell CHANGED
Binary file
Binary file
Binary file
package/cpp.copies.cell CHANGED
Binary file
Binary file
Binary file
package/cpp.lambdas.cell CHANGED
Binary file
package/cpp.names.cell CHANGED
Binary file
package/cpp.objects.cell CHANGED
Binary file
Binary file
Binary file
Binary file
package/cpp.ranges.cell CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
package/cpp.streams.cell CHANGED
Binary file
Binary file
Binary file
package/index.json CHANGED
@@ -1491,11 +1491,11 @@
1491
1491
  "own": "022af39cfbc9dc497b4b994e77f69dad158c12659f66d14d0bd9b70e3876b027"
1492
1492
  },
1493
1493
  "cpp.Cpp.verdictFrom": {
1494
- "merkle": "dc8f6fec391b0ecedd68049c06c2975894b28aeafd979c8300a74eb062d38e6d",
1494
+ "merkle": "6761f6d9bc1c4c8f4897f4acecd87b7ba5944c1e574dca1911c9644038bc2a7b",
1495
1495
  "own": "5b9d2d9dfd3a1f795c253143f9c10cc918ab9f29aee60214dbeaca6b76f6524d"
1496
1496
  },
1497
1497
  "cpp.Cpp.verdictOf": {
1498
- "merkle": "114cdf78b773d25f23ef9b032a1367f05828ffd02c2a21cd9037bd81312c4cdb",
1498
+ "merkle": "16f1dc2354e88b38eaf5323c4118f51cb22249a2bee12aa710c45a301a4fbc63",
1499
1499
  "own": "65560841108e32dea9aeed0de60f4a9f2aeae0a7d39764938afb9b840b88e041"
1500
1500
  },
1501
1501
  "cpp.Cpp.writingGlobal": {
@@ -4843,7 +4843,7 @@
4843
4843
  "own": "550d4c485bd80c1fb85471c93304324a4b8a683dfd96f936b0ec1e24c7cb1c2f"
4844
4844
  },
4845
4845
  "cpp.load": {
4846
- "merkle": "f55c4753cdac054b192e74bf50256f858fffc5a66472dfb29e69704af17cba2a",
4846
+ "merkle": "2528776e2c891a7bbb72f76c356e3a0a48ec1efbe71d8d6c527043d4a30b3af5",
4847
4847
  "own": "40a9b8ee6c37dbbc8b4fd6fe007525168e4c30e45c9f4059b9f02e5ad19074fa"
4848
4848
  },
4849
4849
  "cpp.report": {
@@ -4891,23 +4891,23 @@
4891
4891
  "own": "88186a183c481caa70c6e16860542cd79416cff367d602e249e8abc2ebdc12a5"
4892
4892
  },
4893
4893
  "cpp.types": {
4894
- "merkle": "51088fa113ed39176404f8c66283cbcbb14c96d1ff3be6037ad837c086439ec6",
4894
+ "merkle": "aca24301af79d8c2725313c3f20c61a924b17b51e089e0b43954c19178f19886",
4895
4895
  "own": "9f1ac68cd69193887d826706a0ff6fa68cc161e6691601fa76c7139538cca8e7"
4896
4896
  },
4897
4897
  "cpp.verdict": {
4898
- "merkle": "69750dee414a6babb5d7b6c62ef801224722bd9b4b1717770e2c4cd3d2cda8db",
4898
+ "merkle": "47406b80052cbdc6f94ad2b253b462a59bfb979ac6da55ba15ace8198c615f36",
4899
4899
  "own": "a1ffb453b4fac08c4c99904a9ae734f711ad21a876c8e2a826a7d75cde1b9b03"
4900
4900
  },
4901
4901
  "cpp.verdictReport": {
4902
- "merkle": "186cde5e8f2a75700b338f5711dee2e25fa8789d55daf05821885d2c0ddb344b",
4902
+ "merkle": "20e275c2c06889129e1f6995b0cfcb64c6166a8e6bcab66c93bc855a2ab1250d",
4903
4903
  "own": "de9e598c7ff22dbbcb1fe1a2de1ee16cb8dc9a89f32ccaf8fcd8a6fe205c5730"
4904
4904
  }
4905
4905
  },
4906
4906
  "format": 1,
4907
- "inputs": "90b777d069c87b1bc9889190e099aba9bac2adabcb1dc7e7ac7d7920b4dfec2b",
4907
+ "inputs": "fe16dd0dc9e2dc920ad0d5fc0cfb5425f93761e95da91c8eb98946f2b5e3ebd8",
4908
4908
  "modules": {
4909
4909
  "cpp": {
4910
- "bytes": 723626,
4910
+ "bytes": 723937,
4911
4911
  "deps": [
4912
4912
  "cpp.constructs",
4913
4913
  "cpp.layouts",
@@ -4958,7 +4958,7 @@
4958
4958
  ]
4959
4959
  },
4960
4960
  "cpp.arrays": {
4961
- "bytes": 627414,
4961
+ "bytes": 627767,
4962
4962
  "deps": [
4963
4963
  "cpp.constructs",
4964
4964
  "cpp.layouts",
@@ -4998,7 +4998,7 @@
4998
4998
  ]
4999
4999
  },
5000
5000
  "cpp.classes": {
5001
- "bytes": 586770,
5001
+ "bytes": 587129,
5002
5002
  "deps": [
5003
5003
  "cpp.constructs",
5004
5004
  "cpp.layouts",
@@ -5007,7 +5007,7 @@
5007
5007
  ]
5008
5008
  },
5009
5009
  "cpp.classrules": {
5010
- "bytes": 526036,
5010
+ "bytes": 526413,
5011
5011
  "deps": [
5012
5012
  "cpp.constructs",
5013
5013
  "cpp.layouts",
@@ -5019,7 +5019,7 @@
5019
5019
  ]
5020
5020
  },
5021
5021
  "cpp.construction": {
5022
- "bytes": 688926,
5022
+ "bytes": 689315,
5023
5023
  "deps": [
5024
5024
  "cpp.constructs",
5025
5025
  "cpp.layouts",
@@ -5057,7 +5057,7 @@
5057
5057
  ]
5058
5058
  },
5059
5059
  "cpp.copies": {
5060
- "bytes": 620105,
5060
+ "bytes": 620458,
5061
5061
  "deps": [
5062
5062
  "cpp.constructs",
5063
5063
  "cpp.layouts",
@@ -5090,7 +5090,7 @@
5090
5090
  ]
5091
5091
  },
5092
5092
  "cpp.exceptions": {
5093
- "bytes": 668638,
5093
+ "bytes": 669015,
5094
5094
  "deps": [
5095
5095
  "cpp.constructs",
5096
5096
  "cpp.layouts",
@@ -5131,7 +5131,7 @@
5131
5131
  ]
5132
5132
  },
5133
5133
  "cpp.inheritance": {
5134
- "bytes": 549238,
5134
+ "bytes": 549621,
5135
5135
  "deps": [
5136
5136
  "cpp.constructs",
5137
5137
  "cpp.layouts",
@@ -5141,7 +5141,7 @@
5141
5141
  ]
5142
5142
  },
5143
5143
  "cpp.lambdas": {
5144
- "bytes": 556580,
5144
+ "bytes": 556939,
5145
5145
  "deps": [
5146
5146
  "cpp.constructs",
5147
5147
  "cpp.layouts",
@@ -5648,7 +5648,7 @@
5648
5648
  ]
5649
5649
  },
5650
5650
  "cpp.names": {
5651
- "bytes": 613728,
5651
+ "bytes": 614075,
5652
5652
  "deps": [
5653
5653
  "cpp.constructs",
5654
5654
  "cpp.layouts",
@@ -5693,7 +5693,7 @@
5693
5693
  ]
5694
5694
  },
5695
5695
  "cpp.objects": {
5696
- "bytes": 649965,
5696
+ "bytes": 650324,
5697
5697
  "deps": [
5698
5698
  "cpp.constructs",
5699
5699
  "cpp.layouts",
@@ -5728,7 +5728,7 @@
5728
5728
  ]
5729
5729
  },
5730
5730
  "cpp.operators": {
5731
- "bytes": 673499,
5731
+ "bytes": 673870,
5732
5732
  "deps": [
5733
5733
  "cpp.constructs",
5734
5734
  "cpp.layouts",
@@ -5770,7 +5770,7 @@
5770
5770
  ]
5771
5771
  },
5772
5772
  "cpp.overloading": {
5773
- "bytes": 696299,
5773
+ "bytes": 696682,
5774
5774
  "deps": [
5775
5775
  "cpp.constructs",
5776
5776
  "cpp.layouts",
@@ -5817,7 +5817,7 @@
5817
5817
  ]
5818
5818
  },
5819
5819
  "cpp.primitives": {
5820
- "bytes": 710207,
5820
+ "bytes": 710584,
5821
5821
  "deps": [
5822
5822
  "cpp.constructs",
5823
5823
  "cpp.layouts",
@@ -5867,7 +5867,7 @@
5867
5867
  ]
5868
5868
  },
5869
5869
  "cpp.ranges": {
5870
- "bytes": 613644,
5870
+ "bytes": 613997,
5871
5871
  "deps": [
5872
5872
  "cpp.constructs",
5873
5873
  "cpp.layouts",
@@ -5903,7 +5903,7 @@
5903
5903
  ]
5904
5904
  },
5905
5905
  "cpp.references": {
5906
- "bytes": 561029,
5906
+ "bytes": 561406,
5907
5907
  "deps": [
5908
5908
  "cpp.constructs",
5909
5909
  "cpp.layouts",
@@ -5914,7 +5914,7 @@
5914
5914
  ]
5915
5915
  },
5916
5916
  "cpp.runtimetypes": {
5917
- "bytes": 583719,
5917
+ "bytes": 584108,
5918
5918
  "deps": [
5919
5919
  "cpp.constructs",
5920
5920
  "cpp.layouts",
@@ -5996,7 +5996,7 @@
5996
5996
  ]
5997
5997
  },
5998
5998
  "cpp.standardfunctions": {
5999
- "bytes": 692103,
5999
+ "bytes": 692522,
6000
6000
  "deps": [
6001
6001
  "cpp.constructs",
6002
6002
  "cpp.layouts",
@@ -6078,7 +6078,7 @@
6078
6078
  ]
6079
6079
  },
6080
6080
  "cpp.staticmembers": {
6081
- "bytes": 547834,
6081
+ "bytes": 548229,
6082
6082
  "deps": [
6083
6083
  "cpp.constructs",
6084
6084
  "cpp.layouts",
@@ -6091,7 +6091,7 @@
6091
6091
  ]
6092
6092
  },
6093
6093
  "cpp.streams": {
6094
- "bytes": 670108,
6094
+ "bytes": 670467,
6095
6095
  "deps": [
6096
6096
  "cpp.constructs",
6097
6097
  "cpp.layouts",
@@ -6134,7 +6134,7 @@
6134
6134
  ]
6135
6135
  },
6136
6136
  "cpp.templates": {
6137
- "bytes": 609445,
6137
+ "bytes": 609816,
6138
6138
  "deps": [
6139
6139
  "cpp.constructs",
6140
6140
  "cpp.layouts",
@@ -6171,7 +6171,7 @@
6171
6171
  ]
6172
6172
  },
6173
6173
  "cpp.userconversions": {
6174
- "bytes": 604269,
6174
+ "bytes": 604676,
6175
6175
  "deps": [
6176
6176
  "cpp.constructs",
6177
6177
  "cpp.layouts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cella-lang/cpp",
3
- "version": "0.1.202611062242",
3
+ "version": "0.1.202611070006",
4
4
  "description": "C++17 for Cella Lang, as a branch of the C family's deep embedding (@cella-lang/cfamily): classes, templates, overloading, references, exceptions, lambdas and the standard library's vector and string written in C++ itself; verdicts (accept, reject, unknown with the clause of the standard), a type query and a debugger host interface — compiled module pack.",
5
5
  "files": [
6
6
  "cpp.arrays.cell",
@@ -67,9 +67,9 @@
67
67
  "author": "SungYu Chang",
68
68
  "homepage": "https://cella-lang.org/",
69
69
  "peerDependencies": {
70
- "cella-lang": "0.1.202611062241",
71
- "@cella-lang/cfamily": "0.1.202611062242",
72
- "@cella-lang/machine": "0.1.202611062241"
70
+ "cella-lang": "0.1.202611070005",
71
+ "@cella-lang/cfamily": "0.1.202611070006",
72
+ "@cella-lang/machine": "0.1.202611070005"
73
73
  },
74
74
  "cella": {
75
75
  "checkerHash": "0da4051b1bdbb166",
@@ -77,6 +77,6 @@
77
77
  "modules": [
78
78
  "cpp"
79
79
  ],
80
- "packHash": "802a2668742a202e"
80
+ "packHash": "382f8520f281fe34"
81
81
  }
82
82
  }