opencrbasic 1.0.0__py3-none-any.whl

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 (117) hide show
  1. opencrbasic/__init__.py +3 -0
  2. opencrbasic/__main__.py +5 -0
  3. opencrbasic/analysis.py +184 -0
  4. opencrbasic/bindings.py +1034 -0
  5. opencrbasic/catalog.py +173 -0
  6. opencrbasic/checkconfig.py +144 -0
  7. opencrbasic/checker/__init__.py +977 -0
  8. opencrbasic/checker/cr3xx.py +3118 -0
  9. opencrbasic/checker/ess.py +81 -0
  10. opencrbasic/checker/expressions.py +3581 -0
  11. opencrbasic/checker/instr_data.py +1802 -0
  12. opencrbasic/checker/instr_measure.py +1547 -0
  13. opencrbasic/checker/instr_rules.py +3540 -0
  14. opencrbasic/checker/instructions.py +17 -0
  15. opencrbasic/checker/intervals.py +678 -0
  16. opencrbasic/checker/longconv.py +133 -0
  17. opencrbasic/checker/scan_time.py +580 -0
  18. opencrbasic/checker/storage.py +456 -0
  19. opencrbasic/checker/structs.py +240 -0
  20. opencrbasic/checker/structure.py +6213 -0
  21. opencrbasic/checker/symbols.py +609 -0
  22. opencrbasic/checker/terminals.py +249 -0
  23. opencrbasic/checker/unused.py +186 -0
  24. opencrbasic/checker/var_types.py +564 -0
  25. opencrbasic/checker/warnings.py +661 -0
  26. opencrbasic/checks.py +491 -0
  27. opencrbasic/cli.py +391 -0
  28. opencrbasic/commands.py +128 -0
  29. opencrbasic/compiler.py +320 -0
  30. opencrbasic/consteval.py +327 -0
  31. opencrbasic/data/background_calibration.json +4 -0
  32. opencrbasic/data/before_beginprog.json +99 -0
  33. opencrbasic/data/cr1000x/background_calibration.json +4 -0
  34. opencrbasic/data/cr1000x/before_beginprog.json +138 -0
  35. opencrbasic/data/cr1000x/ess_variables.json +1087 -0
  36. opencrbasic/data/cr1000x/fnotch.json +29 -0
  37. opencrbasic/data/cr1000x/functions.json +1337 -0
  38. opencrbasic/data/cr1000x/instructions.json +4836 -0
  39. opencrbasic/data/cr1000x/measure.json +121 -0
  40. opencrbasic/data/cr1000x/mode.json +111 -0
  41. opencrbasic/data/cr1000x/pipeline_tasks.json +88 -0
  42. opencrbasic/data/cr1000x/settings_fields.json +321 -0
  43. opencrbasic/data/cr1000x/status_members.json +318 -0
  44. opencrbasic/data/cr1000x/symbols.json +872 -0
  45. opencrbasic/data/cr1000x/terminals.json +225 -0
  46. opencrbasic/data/cr300/before_beginprog.json +42 -0
  47. opencrbasic/data/cr300/ess_variables.json +1087 -0
  48. opencrbasic/data/cr300/fnotch.json +22 -0
  49. opencrbasic/data/cr300/functions.json +1261 -0
  50. opencrbasic/data/cr300/instructions.json +2837 -0
  51. opencrbasic/data/cr300/measure.json +33 -0
  52. opencrbasic/data/cr300/mode.json +121 -0
  53. opencrbasic/data/cr300/settings_fields.json +259 -0
  54. opencrbasic/data/cr300/status_members.json +303 -0
  55. opencrbasic/data/cr300/symbols.json +584 -0
  56. opencrbasic/data/cr300/terminals.json +193 -0
  57. opencrbasic/data/cr350/before_beginprog.json +44 -0
  58. opencrbasic/data/cr350/ess_variables.json +1087 -0
  59. opencrbasic/data/cr350/fnotch.json +22 -0
  60. opencrbasic/data/cr350/functions.json +1262 -0
  61. opencrbasic/data/cr350/instructions.json +2848 -0
  62. opencrbasic/data/cr350/measure.json +35 -0
  63. opencrbasic/data/cr350/mode.json +121 -0
  64. opencrbasic/data/cr350/settings_fields.json +292 -0
  65. opencrbasic/data/cr350/status_members.json +303 -0
  66. opencrbasic/data/cr350/symbols.json +572 -0
  67. opencrbasic/data/cr350/terminals.json +190 -0
  68. opencrbasic/data/ess_variables.json +1087 -0
  69. opencrbasic/data/fnotch.json +34 -0
  70. opencrbasic/data/functions.json +1337 -0
  71. opencrbasic/data/instructions.json +4965 -0
  72. opencrbasic/data/measure.json +123 -0
  73. opencrbasic/data/mode.json +121 -0
  74. opencrbasic/data/notices_cr6.json +890 -0
  75. opencrbasic/data/pipeline_tasks.json +84 -0
  76. opencrbasic/data/settings_fields.json +322 -0
  77. opencrbasic/data/status_members.json +319 -0
  78. opencrbasic/data/status_table.json +684 -0
  79. opencrbasic/data/symbols.json +902 -0
  80. opencrbasic/data/terminals.json +195 -0
  81. opencrbasic/data/type_codes.json +249 -0
  82. opencrbasic/diagnostics.py +196 -0
  83. opencrbasic/editing.py +827 -0
  84. opencrbasic/formatting.py +310 -0
  85. opencrbasic/helpdocs.py +677 -0
  86. opencrbasic/hover.py +667 -0
  87. opencrbasic/inlay.py +169 -0
  88. opencrbasic/lexer.py +183 -0
  89. opencrbasic/lsp/__init__.py +5 -0
  90. opencrbasic/lsp/__main__.py +7 -0
  91. opencrbasic/lsp/config.py +202 -0
  92. opencrbasic/lsp/features.py +602 -0
  93. opencrbasic/lsp/server.py +741 -0
  94. opencrbasic/lsp/session.py +1189 -0
  95. opencrbasic/lsp/worker.py +128 -0
  96. opencrbasic/mode.py +143 -0
  97. opencrbasic/navigation.py +401 -0
  98. opencrbasic/parser.py +3264 -0
  99. opencrbasic/positions.py +274 -0
  100. opencrbasic/preprocess.py +269 -0
  101. opencrbasic/profiles.py +266 -0
  102. opencrbasic/provenance.py +17 -0
  103. opencrbasic/quickfix.py +331 -0
  104. opencrbasic/rename.py +662 -0
  105. opencrbasic/signature.py +33 -0
  106. opencrbasic/source.py +600 -0
  107. opencrbasic/sources.py +125 -0
  108. opencrbasic/syntax.py +337 -0
  109. opencrbasic/tables.py +2173 -0
  110. opencrbasic/tables_hook.py +14 -0
  111. opencrbasic/tdf.py +142 -0
  112. opencrbasic/timing.py +565 -0
  113. opencrbasic-1.0.0.dist-info/METADATA +223 -0
  114. opencrbasic-1.0.0.dist-info/RECORD +117 -0
  115. opencrbasic-1.0.0.dist-info/WHEEL +4 -0
  116. opencrbasic-1.0.0.dist-info/entry_points.txt +3 -0
  117. opencrbasic-1.0.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,99 @@
1
+ {
2
+ "instructions": [
3
+ "ARGOSERROR",
4
+ "AVGRUN",
5
+ "AVW200",
6
+ "BATTERY",
7
+ "BROADCAST",
8
+ "CALFILE",
9
+ "CALIBRATE",
10
+ "CALLTABLE",
11
+ "CDM_BATTERY",
12
+ "CDM_BRFULL6W",
13
+ "CDM_BRHALF3W",
14
+ "CDM_EXCITEV",
15
+ "CDM_MUXSELECT",
16
+ "CDM_PANELTEMP",
17
+ "CDM_PERIODAVG",
18
+ "CDM_PULSEPORT",
19
+ "CDM_SW12",
20
+ "CDM_SW5",
21
+ "CDM_TCSE",
22
+ "CDM_THERM107",
23
+ "CDM_VOLTDIFF",
24
+ "CDM_VOLTSE",
25
+ "CONTINUESCAN",
26
+ "CPIFILESEND",
27
+ "CS7500",
28
+ "CSAT3",
29
+ "DELAY",
30
+ "DNP",
31
+ "DNPUPDATE",
32
+ "EC100",
33
+ "EC100CONFIGURE",
34
+ "ERASE",
35
+ "ESSINITIALIZE",
36
+ "EXCITEI",
37
+ "EXIT",
38
+ "FILEMANAGE",
39
+ "GETVARIABLES",
40
+ "GOESGPS",
41
+ "GOESSETUP",
42
+ "I2COPEN",
43
+ "IPROUTE",
44
+ "LI7200",
45
+ "LI7700",
46
+ "MATRIX",
47
+ "MAXSPA",
48
+ "MODBUSSERVER",
49
+ "MODBUSSLAVE",
50
+ "MOVEBYTES",
51
+ "MQTTCONNECT",
52
+ "NEWFILE",
53
+ "PANELTEMP",
54
+ "PEAKVALLEY",
55
+ "PORTPAIRCONFIG",
56
+ "PORTSCONFIG",
57
+ "PORTSET",
58
+ "PRT",
59
+ "PULSEPORT",
60
+ "RANDOMIZE",
61
+ "READ",
62
+ "REALTIME",
63
+ "RESISTANCE",
64
+ "ROUTERSNEIGHBORS",
65
+ "SDI12RECORDER",
66
+ "SDMCAN",
67
+ "SDMCD16AC",
68
+ "SDMGENERIC",
69
+ "SDMIO16",
70
+ "SDMSIO4",
71
+ "SDMSPEED",
72
+ "SDMSW8A",
73
+ "SDMX50",
74
+ "SEMAPHOREGET",
75
+ "SEMAPHORERELEASE",
76
+ "SENDDATA",
77
+ "SENDTABLEDEF",
78
+ "SENDVARIABLES",
79
+ "SERIALBRK",
80
+ "SERIALIN",
81
+ "SERIALINRECORD",
82
+ "SETDAC",
83
+ "SORTSPAINDEXED",
84
+ "SPIOPEN",
85
+ "SPIREAD",
86
+ "SPIWRITE",
87
+ "SPLITSTR",
88
+ "STDDEVRUN",
89
+ "SW12",
90
+ "TCPACTIVECONNECTIONS",
91
+ "TDR100",
92
+ "TDR200",
93
+ "TGA",
94
+ "TOTALRUN",
95
+ "TRIGGERSEQUENCE",
96
+ "VIBRATINGWIRE",
97
+ "WAITTRIGGERSEQUENCE"
98
+ ]
99
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "threshold_ms": 2,
3
+ "busy_slack": 20
4
+ }
@@ -0,0 +1,138 @@
1
+ {
2
+ "instructions": [
3
+ "ACPOWER",
4
+ "ARGOSDATA",
5
+ "ARGOSDATAREPEAT",
6
+ "ARGOSERROR",
7
+ "AVGRUN",
8
+ "AVW200",
9
+ "BATTERY",
10
+ "BRFULL",
11
+ "BRHALF",
12
+ "BRHALF4W",
13
+ "BROADCAST",
14
+ "CALFILE",
15
+ "CALIBRATE",
16
+ "CALLTABLE",
17
+ "CDM_BATTERY",
18
+ "CDM_BRFULL6W",
19
+ "CDM_BRHALF3W",
20
+ "CDM_EXCITEV",
21
+ "CDM_MUXSELECT",
22
+ "CDM_PANELTEMP",
23
+ "CDM_PERIODAVG",
24
+ "CDM_PULSEPORT",
25
+ "CDM_SW12",
26
+ "CDM_SW5",
27
+ "CDM_TCSE",
28
+ "CDM_THERM107",
29
+ "CDM_VOLTDIFF",
30
+ "CDM_VOLTSE",
31
+ "CONTINUESCAN",
32
+ "COVSPA",
33
+ "CPIFILESEND",
34
+ "CS7500",
35
+ "CSAT3",
36
+ "DEBUGBREAK",
37
+ "DELAY",
38
+ "DEWPOINT",
39
+ "DNP",
40
+ "DNPUPDATE",
41
+ "EC100",
42
+ "EC100CONFIGURE",
43
+ "ERASE",
44
+ "ESSINITIALIZE",
45
+ "EXCITEV",
46
+ "EXIT",
47
+ "FFTSPA",
48
+ "FIELDCAL",
49
+ "FIELDCALSTRAIN",
50
+ "FILEMANAGE",
51
+ "GETRECORD",
52
+ "GETVARIABLES",
53
+ "GOESDATA",
54
+ "GOESGPS",
55
+ "GOESSETUP",
56
+ "GOESSTATUS",
57
+ "GPS",
58
+ "HYDRAPROBE",
59
+ "I2COPEN",
60
+ "IPROUTE",
61
+ "LI7200",
62
+ "LI7700",
63
+ "MATRIX",
64
+ "MAXSPA",
65
+ "MINSPA",
66
+ "MODBUSCLIENT",
67
+ "MODBUSSERVER",
68
+ "MODBUSSLAVE",
69
+ "MOVE",
70
+ "MOVEBYTES",
71
+ "MQTTCONNECT",
72
+ "MUXSELECT",
73
+ "NEWFIELDNAMES",
74
+ "NEWFILE",
75
+ "PANELTEMP",
76
+ "PEAKVALLEY",
77
+ "PORTPAIRCONFIG",
78
+ "PORTSCONFIG",
79
+ "PORTSET",
80
+ "PRT",
81
+ "PRTCALC",
82
+ "PULSECOUNTRESET",
83
+ "PULSEPORT",
84
+ "RANDOMIZE",
85
+ "READ",
86
+ "REALTIME",
87
+ "ROUTERSNEIGHBORS",
88
+ "RUNPROGRAM",
89
+ "SATVP",
90
+ "SDI12RECORDER",
91
+ "SDMAO4",
92
+ "SDMAO4A",
93
+ "SDMCAN",
94
+ "SDMCD16AC",
95
+ "SDMCVO4",
96
+ "SDMGENERIC",
97
+ "SDMINT8",
98
+ "SDMIO16",
99
+ "SDMSIO4",
100
+ "SDMSPEED",
101
+ "SDMSW8A",
102
+ "SDMX50",
103
+ "SELECT",
104
+ "SEMAPHOREGET",
105
+ "SEMAPHORERELEASE",
106
+ "SENDDATA",
107
+ "SENDTABLEDEF",
108
+ "SENDVARIABLES",
109
+ "SERIALBRK",
110
+ "SERIALIN",
111
+ "SERIALINRECORD",
112
+ "SETDAC",
113
+ "SORTSPA",
114
+ "SORTSPAINDEXED",
115
+ "SPIOPEN",
116
+ "SPIREAD",
117
+ "SPIWRITE",
118
+ "SPLITSTR",
119
+ "STDDEVRUN",
120
+ "STDDEVSPA",
121
+ "STRAINCALC",
122
+ "SW12",
123
+ "TCDIFF",
124
+ "TCPACTIVECONNECTIONS",
125
+ "TDR100",
126
+ "TDR200",
127
+ "TGA",
128
+ "THERM107",
129
+ "THERM109",
130
+ "TOTALRUN",
131
+ "TRIGGERSEQUENCE",
132
+ "VAPORPRESSURE",
133
+ "VOLTDIFF",
134
+ "VOLTSE",
135
+ "WAITTRIGGERSEQUENCE",
136
+ "WORSTCASE"
137
+ ]
138
+ }