@mintplayer/polyglot-target-csharp 0.2.0 → 0.2.1
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 +1 -1
- package/polyglot-plugin.json +10 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/polyglot-target-csharp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
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",
|
package/polyglot-plugin.json
CHANGED
|
@@ -1736,6 +1736,12 @@
|
|
|
1736
1736
|
},
|
|
1737
1737
|
"Program": {
|
|
1738
1738
|
"seq": [
|
|
1739
|
+
{
|
|
1740
|
+
"line": "#nullable enable"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"line": ""
|
|
1744
|
+
},
|
|
1739
1745
|
{
|
|
1740
1746
|
"mapMembers": "module.enums",
|
|
1741
1747
|
"rule": "EnumDecl"
|
|
@@ -2635,19 +2641,9 @@
|
|
|
2635
2641
|
],
|
|
2636
2642
|
[
|
|
2637
2643
|
{
|
|
2638
|
-
"
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
"type.nullable",
|
|
2642
|
-
"true"
|
|
2643
|
-
]
|
|
2644
|
-
},
|
|
2645
|
-
{
|
|
2646
|
-
"eq": [
|
|
2647
|
-
"type.isValueType",
|
|
2648
|
-
"true"
|
|
2649
|
-
]
|
|
2650
|
-
}
|
|
2644
|
+
"eq": [
|
|
2645
|
+
"type.nullable",
|
|
2646
|
+
"true"
|
|
2651
2647
|
]
|
|
2652
2648
|
},
|
|
2653
2649
|
{
|
|
@@ -2659,17 +2655,6 @@
|
|
|
2659
2655
|
]
|
|
2660
2656
|
}
|
|
2661
2657
|
],
|
|
2662
|
-
[
|
|
2663
|
-
{
|
|
2664
|
-
"eq": [
|
|
2665
|
-
"type.nullable",
|
|
2666
|
-
"true"
|
|
2667
|
-
]
|
|
2668
|
-
},
|
|
2669
|
-
{
|
|
2670
|
-
"type": "type.base"
|
|
2671
|
-
}
|
|
2672
|
-
],
|
|
2673
2658
|
[
|
|
2674
2659
|
{
|
|
2675
2660
|
"has": "type.scalar"
|
|
@@ -2750,7 +2735,7 @@
|
|
|
2750
2735
|
"List.removeAt": "$this.RemoveAt($0)"
|
|
2751
2736
|
},
|
|
2752
2737
|
"std.io": {
|
|
2753
|
-
"print": "global::System.Console.WriteLine(x is bool __pb ? (__pb ? \"true\" : \"false\") : (object)x)",
|
|
2738
|
+
"print": "global::System.Console.WriteLine(x is bool __pb ? (__pb ? \"true\" : \"false\") : (object?)x)",
|
|
2754
2739
|
"readText": "global::System.IO.File.ReadAllText(path)",
|
|
2755
2740
|
"writeText": "global::System.IO.File.WriteAllText(path, content)",
|
|
2756
2741
|
"appendText": "global::System.IO.File.AppendAllText(path, content)",
|