Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

SYSDLL

Creación de lenguaje de programación-Proyecto Final para la materia "Sintaxis y Semántica de los lenguajes"-UTNFRCU-Profesor Ing. Andrés Pascal

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Introducción: ChePas es un lenguaje de programación con muchas similitudes a el lenguaje pascal, consta de un cuerpo con varias sentencias entre las cuales tenemos la escritura, lectura, asignación, declaración de variables, estructura de control (if) y estructura cíclica (while), estas dos últimas pudiendo ser utilizadas con una condición la cual puede ser compleja, teniendo varios OR y AND combinados. ChePas también cuenta con expresiones aritméticas las cuales pueden ser operaciones combinadas utilizando los operadores siguientes: suma(+), resta(-), multiplicación(*), división(/), potencia(^) y raíz cuadrada(raíz(valor)), estas respetan la prioridad que tiene cada operación sobre otra.

¿Por qué ChePas? El nombre ChePas fue elegido por el grupo ya que la idea fue realizar un lenguaje con algunas palabras en español, utilizamos el “Che” porque los argentinos y uruguayos tienen como costumbre decir che para referirse a alguien, el origen del termino che proviene de el idioma mapuche y significa persona o gente, como dato de color la palabra mapu-che significa “gente de la tierra”. Y le pusimos “Pas” por el lenguaje donde lo programamos y donde nos basamos que es Pascal.

Implementación de Gramatica, TAS, árboles, memoria dinamica, automatas finitos deterministicos, entre otros.


Introduction: "ChePas" is a programming language with many similarities to the Pascal language, consists of a body with several sentences for example: writing, reading, assign, declaration of variables, control structure (if) and cyclic structure (while), these last two can be used with a condition which can be complex, having several ORs and ANDs combined. ChePas also has arithmetic expressions which can be combined operations like 8+5/raiz(9), the operators are: addition(+), subtraction(-), multiplication(*), division(/), power(^) and sqrt raiz(raiz(value)), these respect the priority of each operation on another.

Why Chepas? The name ChePas was chosen by the group since the idea was to carry out a language with some words in Spanish, we use “Che” because Argentines and Uruguayans have the habit of saying "che" to refer to someone, the origin of the term "che" comes from the mapuche language and means person or people, the word "mapuche" for example means "people of the earth" and we put "Pas" for the language where we program it and where we base it, which is Pascal (Lazarus FreePascal).

Implementation of Grammar, TAS, trees, dynamic memory, finite deterministic automata, among others.