Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probando Tests #14

Open
wants to merge 157 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 132 commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
52a1d41
Gramatica lalr(1) de Cool definida (Pendiente a cambios)
Mar 16, 2020
014a1a0
iniciando AST
Mar 17, 2020
7d97cee
Serializador de parser terminado. Pediente a definir la prioridad de …
Apr 3, 2020
1bc4ccf
parsea el primer programa de cool : Implementar Scope y Semantic Checker
Apr 4, 2020
d505eea
testing new lexer
Apr 15, 2020
9165a40
new lexer finished
Apr 15, 2020
b2c8ac4
merge with new_lexer branch
Apr 15, 2020
51b6139
preparing cmp module for erro detection
Apr 16, 2020
b492162
preparing cmp module for erro detection
Apr 16, 2020
ac53b36
regular save
Apr 17, 2020
4eae974
Fixed up the grammar for operators "=", "<", "<=". Improved Parser Se…
Apr 19, 2020
8622d94
Lexical error detection functional; Improved parser generation proces…
Apr 24, 2020
a9bdd3d
merge with branch error_detections
Apr 24, 2020
5fc945c
First stage of Recovery Mode working good
Apr 25, 2020
caa1e4e
Implemented class TypeCollector
Apr 25, 2020
d2145cc
Implemented class TypeCollector
Apr 25, 2020
6f29f23
Type Builder finished
Apr 25, 2020
4c3221b
Added examples in tests folder
Apr 25, 2020
ccdcc7b
Added examples in tests folder
Apr 25, 2020
c606570
Added examples in tests folder
Apr 25, 2020
5ca901f
added new error productions to the grammar
Apr 26, 2020
61e29e7
Created Cool Base Class Hierarchy
Apr 26, 2020
746db0d
Added AUTO_TYPE and SELF_TYPE to cool base class hierarchy
Apr 26, 2020
494d8bb
Changed types of the parameters `attribues` and `methods` in class Ty…
Apr 26, 2020
f618955
save
Apr 28, 2020
04963be
Fixed up decorator for productions, terminals and errors
Apr 28, 2020
7a69abf
Added basic COOL Types
Apr 29, 2020
57369a1
Type chequer review
Apr 30, 2020
760a365
Setting "Object" as default parent solved in type building time
May 1, 2020
c1ac4cf
SelfTypeReplacement in process
May 2, 2020
f1716be
StaticType Checker fixed up
May 3, 2020
7877f72
Deleted "temp/ folder"
May 3, 2020
4ad4359
refractoring the project
May 4, 2020
6f8925b
security save
May 4, 2020
a107055
Created "methods_list" and "attribute_list" fields in class "Type"
May 4, 2020
e8d7665
TypeChecker in beta version
May 5, 2020
4128c98
improving inference type algorithms
May 9, 2020
3f41e68
Type inference of AttrDeclarationNode and MethodDeclarationNode written
May 9, 2020
583f042
Type inference working with inner recursion
May 18, 2020
d0a954e
"self" is not a parameter no more
May 18, 2020
fd57cbd
Pipeline Connected until type checker
May 18, 2020
b9c0e7e
Using "OrderedDict" instead of dict in "DependencyGraph".
May 18, 2020
8c35b5f
Using "OrderedDict" instead of dict in "Type" class.
May 18, 2020
01feb14
Default type inference created, Paper Updated
May 19, 2020
eef2190
README.md updated
May 19, 2020
826d6a9
README.md updated
May 19, 2020
401592b
added non terminal "not-empty-expr-list" to the grammar
May 19, 2020
2c61af6
deleted terminal "char" from the grammar
May 19, 2020
03487b4
Refractoring semantic module
May 19, 2020
e1e8981
Fixed up visitor for "MethodCallNode"
May 20, 2020
cf4adcc
Succesfull execution of a COOL Hello World program
May 23, 2020
1d1107b
security save
May 24, 2020
833bc33
While loops working great
May 24, 2020
1e10987
Security Save
May 24, 2020
d7c99b4
case expressions working
May 24, 2020
6a72297
Fixed scoping bugs
May 24, 2020
648ac56
Renamed cmp library to pyjapt
May 25, 2020
ea66c43
Updated Informe.md
May 25, 2020
72cfc64
Updated Readme.md
May 25, 2020
45b7e60
Minor Bug Fixes
May 26, 2020
05eb469
ZeroDivisionError added to Runtime Process
May 26, 2020
cc4bc00
Detecting VoidReferenceError as an ExecutionError
May 27, 2020
0f3a1fc
Changed Parser and Lexer default serialization file names
Jun 10, 2020
2dcb22f
Added a new Run-Time error
Jun 19, 2020
1161b73
Improved Error Handling in parsing time.
Jun 21, 2020
9bd3e2e
-
Jun 21, 2020
c368d4e
-
Jun 21, 2020
012f26b
-
Jun 21, 2020
8728741
-
Jun 21, 2020
16b9426
improved error API
Jul 4, 2020
34afdd5
removed pyjapt library (converted in a python package)
Sep 22, 2020
e8fcbc1
-
Oct 18, 2020
7087473
create a cli api
Oct 19, 2020
1de25c6
Merge branch 'master' into feature/writing-tests
Oct 19, 2020
5e78227
-
Oct 19, 2020
89008c3
-
Oct 20, 2020
633e8ce
creating new multiline comment detector
Oct 20, 2020
847449c
-
Oct 21, 2020
0518835
Merge branch 'feature/writing-tests'
Oct 21, 2020
ddf1934
Info updated
Oct 21, 2020
66dd7e3
update requirements.txt
Oct 21, 2020
153ada0
Informe corregido
Nov 24, 2020
8ae991c
Merge branch 'change/arreglar-informe'
Nov 24, 2020
b481c2d
reorganizando el proyecto
Nov 24, 2020
15a5797
agregando interfaz de serializacion a la cli-api
Nov 24, 2020
a9cb1f4
Agregado informe en PDF
Nov 24, 2020
8eb80e9
arreglando errores en la ejecución
Nov 30, 2020
5bc3f23
Actualización del informe
Nov 30, 2020
4cadc89
reporte de error en dependencias cíclicas
Dec 1, 2020
014522e
index on master: 4cadc89 reporte de error en dependencias cíclicas
Dec 1, 2020
90b9ef3
WIP on master: 4cadc89 reporte de error en dependencias cíclicas
Dec 1, 2020
6bba5d5
Merge branch 'new-tests'
Dec 1, 2020
c0c6b8f
Arreglos en el informe y agrego de errores en ejecucion
Dec 1, 2020
c8e41f8
Agregado error: 'Main not found error'
Dec 1, 2020
48491c9
primer paso en inferencia en condicionales
Dec 14, 2020
43be875
terminada la inferencia en condicionales y expresiones case-of
Dec 14, 2020
759bc70
un pequeño ajuste en el constructor de codigo
Dec 14, 2020
77fd81f
Resueltos los conflictos
LauTB Feb 18, 2021
24390ea
Fixed semicolon issue
LauTB Feb 20, 2021
1014a7c
Fixed index on class-list production
LauTB Feb 20, 2021
204fbfd
Changed error messages
LauTB Feb 20, 2021
fcb59be
-
Feb 21, 2021
77fa6ab
-
Feb 21, 2021
64b59b5
Merge branch 'feature/cil-code-generation-support'
Feb 24, 2021
42a7673
-
Feb 25, 2021
6e764b9
-
Mar 1, 2021
1e41856
-
Mar 1, 2021
072da40
Merge branch 'feature/compiler-configuration'
Mar 1, 2021
7306b67
setup-for-test
Mar 2, 2021
d30b3a6
Arreglado los mensajes de error del parser y el lexer
Mar 2, 2021
bc9dd84
Arreglando formato de error
Mar 2, 2021
e815293
-
Mar 9, 2021
7b329b9
Merge branch 'feature/updating-pyjapt-version'
Mar 9, 2021
1c1784c
Modificando el llamado al compilador desde coolc.sh
Mar 9, 2021
7dcbed7
Separando configuracion para pruebas locales y online
Mar 9, 2021
a70f4db
Fixed cool run api
Mar 10, 2021
4baa93a
arreglado proceso de lexing de los keywords
Mar 11, 2021
f9a38af
excepcion controlada
Mar 11, 2021
6d9b18a
Merge branch 'fix/not-controlled-error-in-type-builder'
Mar 11, 2021
e051731
cambiando la api
Mar 13, 2021
3631c3b
cambios en la gramatica
Mar 13, 2021
50e54ef
actualizacion de pyjapt y bloqueo de la inferencia de tipos
Mar 13, 2021
e75ce70
Merge branch 'fix/parsing-error-report-and-grammar'
Mar 13, 2021
a6d2357
setup for windows local testing
Mar 13, 2021
08540b8
Merge branch 'fix/setup-tests-in-windows'
Mar 13, 2021
ea9f406
deleting unnecesary code
Mar 14, 2021
047efa8
cleaning code
Mar 14, 2021
910c53c
deleting semantic test case
Mar 14, 2021
552ef6e
uncommenting Type Checking procedure
Mar 14, 2021
548a04a
replacing get_type method in Object by type_name
Mar 14, 2021
f62d04b
created semantic feature
LauTB Jul 28, 2021
0499de5
changed grammar
Jul 28, 2021
736ee31
-
Aug 7, 2021
a19c142
Added a constructor
Sep 29, 2021
fe949e3
created a constructor creator
Oct 8, 2021
aeebee6
Generating cil
Oct 30, 2021
3bc2de0
Added inference type feature
Oct 31, 2021
24db105
A mitad de camino
Nov 26, 2021
01b03a4
Switch dando problemas
Feb 10, 2022
4c43a8e
Switch case cil Algorithm finished
Feb 14, 2022
67212c0
Visitor Cool to Cil finished. A revision of the labels and comments i…
Feb 15, 2022
14b2a2b
Improved labels of the switch case transformation to cil
Feb 16, 2022
692543e
-
Feb 17, 2022
6c7c0db
Starting to create the structure for the MIPS AST
Feb 18, 2022
81badc7
Starting to create the structure for the MIPS AST
Feb 18, 2022
bfb2e46
Fixed an error in the dynamic call translation to cil. Completed the …
Feb 22, 2022
143c79e
Added an empty instruction to the mips ast nodes
Feb 22, 2022
f9a0714
Added instruction `jr $ra` at the end of each function label in the m…
Feb 22, 2022
073d3e9
Fixed an error in the naming of the mips and cil file names
Feb 22, 2022
31c04a2
Translation of arithmetic operations to mips already done
Feb 23, 2022
5841feb
Cil to Mips translation terminated, its time to fin bugs.
Feb 25, 2022
2b64b1c
Redefined type Int, Bool and String. Fixing errors in switch case tra…
Feb 25, 2022
5846e9d
updated readme and upload report
LauTB Feb 26, 2022
228f1ea
Need to redefine instances
Feb 26, 2022
04f803f
Tests passed. Refactoring process
Feb 28, 2022
c61e395
Merge branch 'feature/code-generation-process'
Feb 28, 2022
63ea395
Merge branch 'matcom:master' into master
alejandroklever Feb 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
166 changes: 83 additions & 83 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,83 +1,83 @@
name: Tests

on: [push, pull_request]

jobs:
lexer:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2

- name: Install requirements
run: pip install -r requirements.txt

- name: Run tests
run: |
cd src
make clean
make
make test TAG=lexer

parser:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2

- name: Install requirements
run: pip install -r requirements.txt

- name: Run tests
run: |
cd src
make clean
make
make test TAG=parser

semantic:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2

- name: Install requirements
run: pip install -r requirements.txt

- name: Run tests
run: |
cd src
make clean
make
make test TAG=semantic

codegen:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2

- name: Install requirements
run: pip install -r requirements.txt

- name: Install spim
run: sudo apt-get install spim

- name: Run tests
run: |
cd src
make clean
make
make test TAG=codegen
name: Tests
on: [push, pull_request]
jobs:
lexer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests
run: |
cd src
make clean
make
make test TAG=lexer
parser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests
run: |
cd src
make clean
make
make test TAG=parser
semantic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests
run: |
cd src
make clean
make
make test TAG=semantic
codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Install requirements
run: pip install -r requirements.txt
- name: Install spim
run: sudo apt-get install spim
- name: Run tests
run: |
cd src
make clean
make
make test TAG=codegen
Loading