PL/0 (original) (raw)

About DBpedia

PL/0 is a programming language, intended as an educational programming language, that is similar to but much simpler than Pascal, a general-purpose programming language. It serves as an example of how to construct a compiler. It was originally introduced in the book, Algorithms + Data Structures = Programs, by Niklaus Wirth in 1976. It features quite limited language constructs: there are no real numbers, very few basic arithmetic operations and no control-flow constructs other than "if" and "while" blocks. While these limitations make writing real applications in this language impractical, it helps the compiler remain compact and simple.

Property Value
dbo:abstract PL/0 je programovací jazyk podobný jazyku Pascal, navržený pro výuku konstrukce překladačů. Jazyk PL/0 je velmi zjednodušený; má pouze jednoduché proměnné, celočíselné výrazy, operátory porovnání, řídicí konstrukce begin – end, if – then, while – do a procedury bez parametrů. Kvůli těmto omezením je psaní programů v PL/0 nepraktické, lze však pro něj vytvářet jednoduché a kompaktní překladače, na kterých lze efektivně demonstrovat množství konceptů používaných při konstrukci překladačů. Jazyk PL/0 použil Niklaus Wirth v roce 1976 pro ukázku konstrukce překladače ve své knize Algoritmy + datové struktury = programy. (cs) PL/0 ist eine vereinfachte Programmiersprache. Sie dient als Muster, um im Buch Compilerbau von Niklaus Wirth zu zeigen, wie man einen Compiler herstellt. Die Sprache kann nur mit Zahlenwerten umgehen und ist nicht dazu gedacht, wirklich eingesetzt zu werden.PL/0 ist außerdem eine Untermenge der Programmiersprache PL/I von IBM. Die Syntaxregeln der Modellsprache in EBNF: program = block "." . block = [ "CONST" ident "=" number { "," ident "=" number } ";" ] [ "VAR" ident { "," ident } ";" ] { "PROCEDURE" ident ";" block ";" } statement . statement = [ ident ":=" expression | "CALL" ident "?" ident "!" expression "BEGIN" statement { ";" statement } "END" "IF" condition "THEN" statement "WHILE" condition "DO" statement ] . condition = "ODD" expression expression ( "=" "#" "<" "<=" ">" ">=" ) expression . expression = [ "+" "-" ] term { ( "+" "-" ) term } . term = factor { ( "*" "/" ) factor } . factor = ident number "(" expression ")" . (de) PL/0 is a programming language, intended as an educational programming language, that is similar to but much simpler than Pascal, a general-purpose programming language. It serves as an example of how to construct a compiler. It was originally introduced in the book, Algorithms + Data Structures = Programs, by Niklaus Wirth in 1976. It features quite limited language constructs: there are no real numbers, very few basic arithmetic operations and no control-flow constructs other than "if" and "while" blocks. While these limitations make writing real applications in this language impractical, it helps the compiler remain compact and simple. (en) PL/0(ピーエルゼロ)はプログラミング言語の名称。少なくとも2種類の言語が知られており、その1つは IBM の汎用プログラミング言語 PL/I のサブセットである。 本項で詳述するもう一方のPL/0は、教育目的でPascalを簡略化したバージョンのプログラミング言語である。主にコンパイラの設計開発の実例として使用される。1975年、ニクラウス・ヴィルトの著書 Algorithms + Data Structures = Programs で紹介されたのが最初である。言語の構成要素は非常に小さく、実数はサポートしておらず、算術演算子も必要最小限で、"if" と "while" 以外の制御構文を持たない。そのような様々な制限があるため、この言語で実用的プログラムを書くのは現実的ではないが、コンパイラ自体は非常に小さく単純に作成可能である。 (ja)
dbo:wikiPageExternalLink https://web.archive.org/web/20130207170133/http:/www.inf.ethz.ch/personal/wirth/books/AlgorithmE0/ http://fruttenboel.verhoeven272.nl/m4m/index.html http://www.standardpascaline.org/plzero.pas https://modernc.org/pl0 https://programming.dojo.net.nz/study/pl0-language-tools/index https://github.com/MarcRochkind/pl0compiler https://github.com/dodobyte/plzero http://pascal.hansotten.com/niklaus-wirth/pl0/ http://sourceforge.net/projects/pl0-compiler https://web.archive.org/web/20120603011556/http:/www.inf.ethz.ch/personal/wirth/books/Compilerbau0/ https://web.archive.org/web/20120717010607/http:/www.cs.rochester.edu/courses/254/PLzero/guide.pdf
dbo:wikiPageID 507221 (xsd:integer)
dbo:wikiPageLength 10254 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID 1123376160 (xsd:integer)
dbo:wikiPageWikiLink dbr:Python_(programming_language) dbr:Algorithms_+_Data_Structures_=_Programs dbc:Pascal_programming_language_family dbr:Compiler dbr:General-purpose_programming_language dbr:Modula-2 dbr:Lex_(software) dbr:Communicating_sequential_processes dbr:P-code_machine dbc:Educational_programming_languages dbr:Yacc dbc:Procedural_programming_languages dbr:Extended_Backus–Naur_form dbr:Niklaus_Wirth dbr:Pascal_(programming_language) dbr:Recursive_descent_parser dbc:Compilers dbc:Structured_programming_languages dbc:Programming_languages_created_in_1975 dbr:Educational_programming_language dbr:Programming_language dbr:C._A._R._Hoare
dbp:wikiPageUsesTemplate dbt:About dbt:As_of dbt:Citation_needed dbt:ISBN dbt:Refbegin dbt:Refend dbt:Reflist
dcterms:subject dbc:Pascal_programming_language_family dbc:Educational_programming_languages dbc:Procedural_programming_languages dbc:Compilers dbc:Structured_programming_languages dbc:Programming_languages_created_in_1975
rdf:type yago:Abstraction100002137 yago:ArtificialLanguage106894544 yago:Communication100033020 yago:Language106282651 yago:ProgrammingLanguage106898352 yago:WikicatProgrammingLanguages yago:WikicatProgrammingLanguagesCreatedIn1975
rdfs:comment PL/0 is a programming language, intended as an educational programming language, that is similar to but much simpler than Pascal, a general-purpose programming language. It serves as an example of how to construct a compiler. It was originally introduced in the book, Algorithms + Data Structures = Programs, by Niklaus Wirth in 1976. It features quite limited language constructs: there are no real numbers, very few basic arithmetic operations and no control-flow constructs other than "if" and "while" blocks. While these limitations make writing real applications in this language impractical, it helps the compiler remain compact and simple. (en) PL/0(ピーエルゼロ)はプログラミング言語の名称。少なくとも2種類の言語が知られており、その1つは IBM の汎用プログラミング言語 PL/I のサブセットである。 本項で詳述するもう一方のPL/0は、教育目的でPascalを簡略化したバージョンのプログラミング言語である。主にコンパイラの設計開発の実例として使用される。1975年、ニクラウス・ヴィルトの著書 Algorithms + Data Structures = Programs で紹介されたのが最初である。言語の構成要素は非常に小さく、実数はサポートしておらず、算術演算子も必要最小限で、"if" と "while" 以外の制御構文を持たない。そのような様々な制限があるため、この言語で実用的プログラムを書くのは現実的ではないが、コンパイラ自体は非常に小さく単純に作成可能である。 (ja) PL/0 je programovací jazyk podobný jazyku Pascal, navržený pro výuku konstrukce překladačů. Jazyk PL/0 je velmi zjednodušený; má pouze jednoduché proměnné, celočíselné výrazy, operátory porovnání, řídicí konstrukce begin – end, if – then, while – do a procedury bez parametrů. Kvůli těmto omezením je psaní programů v PL/0 nepraktické, lze však pro něj vytvářet jednoduché a kompaktní překladače, na kterých lze efektivně demonstrovat množství konceptů používaných při konstrukci překladačů. (cs) PL/0 ist eine vereinfachte Programmiersprache. Sie dient als Muster, um im Buch Compilerbau von Niklaus Wirth zu zeigen, wie man einen Compiler herstellt. Die Sprache kann nur mit Zahlenwerten umgehen und ist nicht dazu gedacht, wirklich eingesetzt zu werden.PL/0 ist außerdem eine Untermenge der Programmiersprache PL/I von IBM. Die Syntaxregeln der Modellsprache in EBNF: (de)
rdfs:label PL/0 (cs) PL/0 (de) PL/0 (ja) PL/0 (en)
owl:sameAs freebase:PL/0 yago-res:PL/0 wikidata:PL/0 dbpedia-cs:PL/0 dbpedia-de:PL/0 dbpedia-fa:PL/0 dbpedia-ja:PL/0 https://global.dbpedia.org/id/gTPc
prov:wasDerivedFrom wikipedia-en:PL/0?oldid=1123376160&ns=0
foaf:isPrimaryTopicOf wikipedia-en:PL/0
is dbo:influencedBy of dbr:MATLAB
is dbo:wikiPageRedirects of dbr:PL/0_programming_language dbr:Oberon-0
is dbo:wikiPageWikiLink of dbr:History_of_compiler_construction dbr:List_of_programming_languages dbr:MATLAB dbr:P-code_machine dbr:PLO_(disambiguation) dbr:Flex_(lexical_analyser_generator) dbr:Recursive_descent_parser dbr:XPL0 dbr:PL/0_programming_language dbr:Oberon-0
is foaf:primaryTopic of wikipedia-en:PL/0