Remove support for hardware registers in TAC

This commit is contained in:
2026-01-02 18:28:29 +01:00
parent 58e708f44c
commit f86d06236c
2 changed files with 41 additions and 56 deletions

View File

@@ -43,19 +43,10 @@ end
desc 'Convert previous stage language into the current stage language'
task :convert do
File.open('boot/stage17/cl.elna', 'w') do |current_stage|
File.readlines('boot/stage16/cl.elna').each do |line|
File.open('boot/stage18/cl.elna', 'w') do |current_stage|
File.readlines('boot/stage17/cl.elna').each do |line|
current_stage << line
end
current_stage << <<~STAGE
proc f(x: ElnaTreeExpression);
var
y: Word;
begin
y := x.kind
end;
STAGE
end
end