@mintplayer/polyglot-target-csharp 0.9.2 → 0.9.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/polyglot-target-csharp",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "MintPlayer Polyglot C# / .NET target — a pure-JSON language plugin (spec + emission rules + capabilities + std bindings) for the polyglot transpiler.",
5
5
  "keywords": [
6
6
  "polyglot",
@@ -17,7 +17,8 @@
17
17
  "f32": "float",
18
18
  "f64": "double",
19
19
  "bool": "bool",
20
- "string": "string"
20
+ "string": "string",
21
+ "char": "char"
21
22
  },
22
23
  "intSuffix": {
23
24
  "i64": "L",
@@ -2839,7 +2840,7 @@
2839
2840
  "string.toLower": "$this.ToLower()",
2840
2841
  "string.charAt": "$this[$0].ToString()",
2841
2842
  "string.codePointAt": "char.ConvertToUtf32($this, $0)",
2842
- "string.codePoints": "$this.EnumerateRunes()",
2843
+ "string.codePoints": "global::System.Linq.Enumerable.Select($this.EnumerateRunes(), __r => __r.ToString())",
2843
2844
  "string.toI32": "global::System.Int32.Parse($this)"
2844
2845
  },
2845
2846
  "std.core": {