Skip to content

isgulkov/antlr-delphi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Название: подмножество языка Delphi

Операторы: +, -, *, /, and, or, not, var, writeln()

Сложные операторы(фичи): while .. do, if .. then

Типы: boolean, double

Пример кода:

var
a,b:boolean;
begin
a:=True;
b:=False;
if a and not b then writeln('a & b = True');
while a or b do
begin
writeln('a or b == True');
if a then a:=not a;
end
end.

Ожидаемый вывод:

a & b = True
a or b == True

About

Оценка: 10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published