@cella-lang/cpp 0.1.202611061934 → 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,10 @@
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。
9
+ - **新增 `cpp.verdictReport`**(和 `cpp.verdict` 同參數、同型別):判決的 JSON 原封不動,最後多一個 `"steps": N`——這次執行用掉
10
+ 的模型步數(單位同 fuel;fuel 用完時等於 fuel;沒跑到執行的是 0)。同一個版本、程式、輸入,在每個宿主上相同。`cpp.verdict`
11
+ 不變。(`cpp.report` 是除錯工作階段的報告,照舊。)
8
12
  - **long double**(見 `@cella-lang/cfamily`):`{"k": "tLongDouble"}`、`1.0L`;`sizeof(long double)` 是 16,`cout` 照 x87 的精度輸出,
9
13
  `f(double)` 與 `f(long double)` 是不同的多載,`typeid` 的名字是 `e`,模板推導出 long double。判決的 `assumes` 多
10
14
  `x86-64-sysv:longDouble.x87Extended`。`<cmath>` 的函式收到 long double(`std::sqrt(2.0L)`、`std::abs(-2.5L)`)判 unknown:模型
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
@@ -1359,7 +1359,7 @@
1359
1359
  "own": "49d6a41e969dd312887cf8b3a944ee8db357d5c0869c15b7b4ce47633ecf510a"
1360
1360
  },
1361
1361
  "cpp.Cpp.invalid": {
1362
- "merkle": "bb79608d1945efa84f2b4eaffcf46aa500d696d442f34f4e5109da3234ea7ed9",
1362
+ "merkle": "02cfc06b7c8ca5c9efaa4bcb9d5e83aba6e228ad203f91d638f98c685e06361b",
1363
1363
  "own": "e1a2122fbb70163c8a1f7dd84265d60878b871eaaa3acc93b598e467a3ae791a"
1364
1364
  },
1365
1365
  "cpp.Cpp.isThis": {
@@ -1490,9 +1490,13 @@
1490
1490
  "merkle": "7e5a69a2277c7ba1ffbcb19475d21aae58b23be174c191a771d6d71dbb2bcf6f",
1491
1491
  "own": "022af39cfbc9dc497b4b994e77f69dad158c12659f66d14d0bd9b70e3876b027"
1492
1492
  },
1493
+ "cpp.Cpp.verdictFrom": {
1494
+ "merkle": "6761f6d9bc1c4c8f4897f4acecd87b7ba5944c1e574dca1911c9644038bc2a7b",
1495
+ "own": "5b9d2d9dfd3a1f795c253143f9c10cc918ab9f29aee60214dbeaca6b76f6524d"
1496
+ },
1493
1497
  "cpp.Cpp.verdictOf": {
1494
- "merkle": "e6a16bc6ac2cd42ddfa209fa951c9629ed848030ef343552895d9c5b61c3795f",
1495
- "own": "b3b60ea61001e32d835a1cf1d3d5bedf55ad6431ae82982932064fcf417bbcf9"
1498
+ "merkle": "16f1dc2354e88b38eaf5323c4118f51cb22249a2bee12aa710c45a301a4fbc63",
1499
+ "own": "65560841108e32dea9aeed0de60f4a9f2aeae0a7d39764938afb9b840b88e041"
1496
1500
  },
1497
1501
  "cpp.Cpp.writingGlobal": {
1498
1502
  "merkle": "40edbb6fc0c319a2b647fe0ae221fd335324a681358c7f469a35ae3d0f86670b",
@@ -4839,7 +4843,7 @@
4839
4843
  "own": "550d4c485bd80c1fb85471c93304324a4b8a683dfd96f936b0ec1e24c7cb1c2f"
4840
4844
  },
4841
4845
  "cpp.load": {
4842
- "merkle": "f55c4753cdac054b192e74bf50256f858fffc5a66472dfb29e69704af17cba2a",
4846
+ "merkle": "2528776e2c891a7bbb72f76c356e3a0a48ec1efbe71d8d6c527043d4a30b3af5",
4843
4847
  "own": "40a9b8ee6c37dbbc8b4fd6fe007525168e4c30e45c9f4059b9f02e5ad19074fa"
4844
4848
  },
4845
4849
  "cpp.report": {
@@ -4887,19 +4891,23 @@
4887
4891
  "own": "88186a183c481caa70c6e16860542cd79416cff367d602e249e8abc2ebdc12a5"
4888
4892
  },
4889
4893
  "cpp.types": {
4890
- "merkle": "51088fa113ed39176404f8c66283cbcbb14c96d1ff3be6037ad837c086439ec6",
4894
+ "merkle": "aca24301af79d8c2725313c3f20c61a924b17b51e089e0b43954c19178f19886",
4891
4895
  "own": "9f1ac68cd69193887d826706a0ff6fa68cc161e6691601fa76c7139538cca8e7"
4892
4896
  },
4893
4897
  "cpp.verdict": {
4894
- "merkle": "9c8c8e0f4f60fae4312cce2d20245ec1552a233575ce31ac8671038c7f53e9ca",
4895
- "own": "9968d1143658751f75880a586e3ac504814837a565cde934429e37f42c7f3279"
4898
+ "merkle": "47406b80052cbdc6f94ad2b253b462a59bfb979ac6da55ba15ace8198c615f36",
4899
+ "own": "a1ffb453b4fac08c4c99904a9ae734f711ad21a876c8e2a826a7d75cde1b9b03"
4900
+ },
4901
+ "cpp.verdictReport": {
4902
+ "merkle": "20e275c2c06889129e1f6995b0cfcb64c6166a8e6bcab66c93bc855a2ab1250d",
4903
+ "own": "de9e598c7ff22dbbcb1fe1a2de1ee16cb8dc9a89f32ccaf8fcd8a6fe205c5730"
4896
4904
  }
4897
4905
  },
4898
4906
  "format": 1,
4899
- "inputs": "686468ecb0040c00f2a5b6bb59f29a68f4c0da24aa33a05b5e11369210d9ec20",
4907
+ "inputs": "fe16dd0dc9e2dc920ad0d5fc0cfb5425f93761e95da91c8eb98946f2b5e3ebd8",
4900
4908
  "modules": {
4901
4909
  "cpp": {
4902
- "bytes": 722537,
4910
+ "bytes": 723937,
4903
4911
  "deps": [
4904
4912
  "cpp.constructs",
4905
4913
  "cpp.layouts",
@@ -4950,7 +4958,7 @@
4950
4958
  ]
4951
4959
  },
4952
4960
  "cpp.arrays": {
4953
- "bytes": 627414,
4961
+ "bytes": 627767,
4954
4962
  "deps": [
4955
4963
  "cpp.constructs",
4956
4964
  "cpp.layouts",
@@ -4990,7 +4998,7 @@
4990
4998
  ]
4991
4999
  },
4992
5000
  "cpp.classes": {
4993
- "bytes": 586770,
5001
+ "bytes": 587129,
4994
5002
  "deps": [
4995
5003
  "cpp.constructs",
4996
5004
  "cpp.layouts",
@@ -4999,7 +5007,7 @@
4999
5007
  ]
5000
5008
  },
5001
5009
  "cpp.classrules": {
5002
- "bytes": 526036,
5010
+ "bytes": 526413,
5003
5011
  "deps": [
5004
5012
  "cpp.constructs",
5005
5013
  "cpp.layouts",
@@ -5011,7 +5019,7 @@
5011
5019
  ]
5012
5020
  },
5013
5021
  "cpp.construction": {
5014
- "bytes": 688926,
5022
+ "bytes": 689315,
5015
5023
  "deps": [
5016
5024
  "cpp.constructs",
5017
5025
  "cpp.layouts",
@@ -5049,7 +5057,7 @@
5049
5057
  ]
5050
5058
  },
5051
5059
  "cpp.copies": {
5052
- "bytes": 620105,
5060
+ "bytes": 620458,
5053
5061
  "deps": [
5054
5062
  "cpp.constructs",
5055
5063
  "cpp.layouts",
@@ -5082,7 +5090,7 @@
5082
5090
  ]
5083
5091
  },
5084
5092
  "cpp.exceptions": {
5085
- "bytes": 668638,
5093
+ "bytes": 669015,
5086
5094
  "deps": [
5087
5095
  "cpp.constructs",
5088
5096
  "cpp.layouts",
@@ -5123,7 +5131,7 @@
5123
5131
  ]
5124
5132
  },
5125
5133
  "cpp.inheritance": {
5126
- "bytes": 549238,
5134
+ "bytes": 549621,
5127
5135
  "deps": [
5128
5136
  "cpp.constructs",
5129
5137
  "cpp.layouts",
@@ -5133,7 +5141,7 @@
5133
5141
  ]
5134
5142
  },
5135
5143
  "cpp.lambdas": {
5136
- "bytes": 556580,
5144
+ "bytes": 556939,
5137
5145
  "deps": [
5138
5146
  "cpp.constructs",
5139
5147
  "cpp.layouts",
@@ -5640,7 +5648,7 @@
5640
5648
  ]
5641
5649
  },
5642
5650
  "cpp.names": {
5643
- "bytes": 613728,
5651
+ "bytes": 614075,
5644
5652
  "deps": [
5645
5653
  "cpp.constructs",
5646
5654
  "cpp.layouts",
@@ -5685,7 +5693,7 @@
5685
5693
  ]
5686
5694
  },
5687
5695
  "cpp.objects": {
5688
- "bytes": 649965,
5696
+ "bytes": 650324,
5689
5697
  "deps": [
5690
5698
  "cpp.constructs",
5691
5699
  "cpp.layouts",
@@ -5720,7 +5728,7 @@
5720
5728
  ]
5721
5729
  },
5722
5730
  "cpp.operators": {
5723
- "bytes": 673499,
5731
+ "bytes": 673870,
5724
5732
  "deps": [
5725
5733
  "cpp.constructs",
5726
5734
  "cpp.layouts",
@@ -5762,7 +5770,7 @@
5762
5770
  ]
5763
5771
  },
5764
5772
  "cpp.overloading": {
5765
- "bytes": 696299,
5773
+ "bytes": 696682,
5766
5774
  "deps": [
5767
5775
  "cpp.constructs",
5768
5776
  "cpp.layouts",
@@ -5809,7 +5817,7 @@
5809
5817
  ]
5810
5818
  },
5811
5819
  "cpp.primitives": {
5812
- "bytes": 710207,
5820
+ "bytes": 710584,
5813
5821
  "deps": [
5814
5822
  "cpp.constructs",
5815
5823
  "cpp.layouts",
@@ -5859,7 +5867,7 @@
5859
5867
  ]
5860
5868
  },
5861
5869
  "cpp.ranges": {
5862
- "bytes": 613644,
5870
+ "bytes": 613997,
5863
5871
  "deps": [
5864
5872
  "cpp.constructs",
5865
5873
  "cpp.layouts",
@@ -5895,7 +5903,7 @@
5895
5903
  ]
5896
5904
  },
5897
5905
  "cpp.references": {
5898
- "bytes": 561029,
5906
+ "bytes": 561406,
5899
5907
  "deps": [
5900
5908
  "cpp.constructs",
5901
5909
  "cpp.layouts",
@@ -5906,7 +5914,7 @@
5906
5914
  ]
5907
5915
  },
5908
5916
  "cpp.runtimetypes": {
5909
- "bytes": 583719,
5917
+ "bytes": 584108,
5910
5918
  "deps": [
5911
5919
  "cpp.constructs",
5912
5920
  "cpp.layouts",
@@ -5988,7 +5996,7 @@
5988
5996
  ]
5989
5997
  },
5990
5998
  "cpp.standardfunctions": {
5991
- "bytes": 692103,
5999
+ "bytes": 692522,
5992
6000
  "deps": [
5993
6001
  "cpp.constructs",
5994
6002
  "cpp.layouts",
@@ -6070,7 +6078,7 @@
6070
6078
  ]
6071
6079
  },
6072
6080
  "cpp.staticmembers": {
6073
- "bytes": 547834,
6081
+ "bytes": 548229,
6074
6082
  "deps": [
6075
6083
  "cpp.constructs",
6076
6084
  "cpp.layouts",
@@ -6083,7 +6091,7 @@
6083
6091
  ]
6084
6092
  },
6085
6093
  "cpp.streams": {
6086
- "bytes": 670108,
6094
+ "bytes": 670467,
6087
6095
  "deps": [
6088
6096
  "cpp.constructs",
6089
6097
  "cpp.layouts",
@@ -6126,7 +6134,7 @@
6126
6134
  ]
6127
6135
  },
6128
6136
  "cpp.templates": {
6129
- "bytes": 609445,
6137
+ "bytes": 609816,
6130
6138
  "deps": [
6131
6139
  "cpp.constructs",
6132
6140
  "cpp.layouts",
@@ -6163,7 +6171,7 @@
6163
6171
  ]
6164
6172
  },
6165
6173
  "cpp.userconversions": {
6166
- "bytes": 604269,
6174
+ "bytes": 604676,
6167
6175
  "deps": [
6168
6176
  "cpp.constructs",
6169
6177
  "cpp.layouts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cella-lang/cpp",
3
- "version": "0.1.202611061934",
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.202611061710",
71
- "@cella-lang/cfamily": "0.1.202611061934",
72
- "@cella-lang/machine": "0.1.202611061934"
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": "4645a7ae0066d847"
80
+ "packHash": "382f8520f281fe34"
81
81
  }
82
82
  }