Hi arximidis. Sorry for the hiatus but I was too busy last months so I can't work on the project.
About your question, I think you didn't read the user manual. As I said in that manual, Z80-Pascal is in a very early development state and currently it can't compile complete Pascal programs. It can compile **only** empty Pascal programs or embeded Z80-Assembler programs. I know it's useless but current version is the result of few days of work.
I want to follow the development of this compiler next month.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I compiled your program at windows with Lazarus and everything went ok
When I am writing a simple program like this:
program test;
begin
end.
and compile it, I get no errors! The asm file is generated
But when I am writing the code
program test;
var i:integer;
begin
i:=0;
end.
or
program test;
var i:integer;
begin
end.
I get the following error:
'BEGIN' expected but 'VAR' found
What I am doing wrong?
Hi arximidis. Sorry for the hiatus but I was too busy last months so I can't work on the project.
About your question, I think you didn't read the user manual. As I said in that manual, Z80-Pascal is in a very early development state and currently it can't compile complete Pascal programs. It can compile **only** empty Pascal programs or embeded Z80-Assembler programs. I know it's useless but current version is the result of few days of work.
I want to follow the development of this compiler next month.