Skip to content

berv-uni-project/Mini-Language-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini Language Compiler

Codacy Badge

CMake

Learning to parsing and to be mini compiler for small language

Run executable code compiler.exe with command prompt.

Membuat input :

  • (edit file "program.txt")
  • Isi program yang ingin dites.

Contoh isi diterima:

begin
  input(z) {menerima masukan z berupa nilai integer}
  do
    if (z<10) then
    begin
      a=z*2
      output(a)
    end
    else
    begin
      output(z*10)
    end
    input(z)
  while (z < 999)
end

Contoh tidak diterima :

jika end dihilangkan

About

Learning to parsing and to be mini compiler for small language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages