@cella-lang/cpp 0.1.202610130348 → 0.1.202610130445

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.
Files changed (4) hide show
  1. package/CHANGES.md +2 -0
  2. package/cpp.cell +0 -0
  3. package/index.json +1343 -1343
  4. package/package.json +4 -4
package/CHANGES.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  ## 未發佈
7
7
 
8
+ - 標準庫的 Int 名字改進 `Int` namespace(`add_int` → `Int.add`、`ltInt` → `Int.blt`、`addIntF` → `Int.addFast`…),套件的原始碼與產生的項都寫完整名稱。對照表見 cella-lang 的變更紀錄。
9
+ - 穩定定義(`docs/stable-defs.json`)的內容雜湊因此改變(引用的名字變了,內容不變):`cpp.NonZero`、`cpp.add`、`cpp.div`、`cpp.eq`、`cpp.inRangeB`、`cpp.le`、`cpp.lt`、`cpp.minOf`、`cpp.mul`、`cpp.neg`、`cpp.rem`、`cpp.sub`、`cpp.toC`、`cpp.toInt_add`、`cpp.toInt_div`、`cpp.toInt_mul`、`cpp.toInt_neg`、`cpp.toInt_rem`、`cpp.toInt_sub`。
8
10
  - `cpp.Exc` 多一個建構子 `objExc 類別鏈 訊息 節點 位置`:其他語言的例外物件(`@cella-lang/python` 使用者的例外類別:類別與祖先由近到遠、物件在堆上的位置);`excNode`、`excJson`(type 是鏈的第一個)跟著支援。對 `Exc` 做窮盡 match 的程式要多一個分支。
9
11
  - `stopNode` 對未接住的例外回報例外帶著的節點(`namedExc` 的;C++ 的例外不帶,照舊是空字串)。
10
12
  - **不相容**:`Debugger` 的 `showGlobals`、`showFrame` 多收環境:`showGlobals : E -> V -> String`、`showFrame : String -> E -> V -> String`(變數可能指向環境裡的東西,例如 Python 的 list 在堆上)。
package/cpp.cell CHANGED
Binary file