Initial PROTEL 2026 toolchain import

This commit is contained in:
2026-06-08 18:04:03 -05:00
commit 98a0bb329d
125 changed files with 12223 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
% PROTEL library exported for Rust (EXPORT = extern "C" linkage)
% Rust imports protel_add with extern "C" { fn protel_add ... }.
INTERFACE protel_math;
TYPE integer {-32768 TO 32767};
DCL protel_add PROC(a integer, b integer) RETURNS integer EXPORT;
DCL protel_add PROC(a integer, b integer) RETURNS integer IS
BLOCK
RETURN a + b;
ENDBLOCK;