Skip to content

carolmb/compiladores

Repository files navigation

PasC

PasC is a compiled language, still under construction, aimed to teach structured programming for programmers immersed in the Portuguese language. It was developed based on the Pascal language, because it is a more robust language oriented to teaching, and C, due to the presence of structures of repetition better modeled.

Dependencies

sudo apt install g++
sudo apt install make
sudo apt install flex

# http://techapple.net/2014/10/install-lex-yacc-ubuntu-linuxmint-easily-works-versions/
sudo apt-get install bison
sudo apt-get install byacc
sudo apt-get install bison++

Running Pasc codes

Running syntax parser

Execute by passing the input code as a parameter

 ./run.sh codes/basic 

Where:

```basic`` is the name of the PasC code that you want to run.

Pascal codes

Dependencies

sudo apt-get install fp-compiler

Running helloworld.pas

# Building
fpc helloworld.pas 
# Running
./helloworld

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •