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

Entrega del Compilador #42

Open
wants to merge 200 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
d7a3f1e
Update team.yml
luisoibarra Mar 4, 2021
1a3b139
Initial Infrastructure Proposal
luisoibarra Mar 4, 2021
c0084ee
Initial lexer commit
NazDia Mar 9, 2021
787f2a8
Infrastructure Updated
luisoibarra Mar 10, 2021
f6f54fa
Available Lexer Testing
Mar 14, 2021
1f73e34
Basic Semantic Infrastructure
Mar 14, 2021
4fd4530
Testing integration with 2nd compilation project
Mar 14, 2021
5d32cb2
TypeCollector added
Mar 15, 2021
2e1dafc
Project running with cool2 package
Apr 17, 2021
52f9e84
Merge branch 'lexing-parsing' into temp_lex_merge
Apr 17, 2021
02cf92c
Lexing process integrated
Apr 17, 2021
2e25875
TODO FIX LEXING ERROR
Apr 17, 2021
ad01600
Checkpoint: Move cmp to cool_cmp
Apr 18, 2021
f96a5d0
Cool2 Main Project
Apr 19, 2021
b1aa897
Nothing Changed
Apr 23, 2021
37d6f81
Semantics fixes
Apr 24, 2021
5c109f1
Semantics fixs added
May 1, 2021
0e53cfd
Semantic Tests Completed
Jul 13, 2021
3e663f2
Tests fixed according new grammar
Jul 13, 2021
1ab7a5e
Merge pull request #1 from WataLuisoDalmauCompiler/semantic_fix
luisoibarra Jul 18, 2021
93c5d05
ply lexer improved
NazDia Jul 21, 2021
ec3dc71
Added the lexer's result for the next stage
NazDia Jul 25, 2021
dbc3e26
Fixed multilines comments
NazDia Jul 27, 2021
c430ee5
Tried adding the ply lexer to cool2 and failed
NazDia Jul 31, 2021
d295140
Ply running
Aug 1, 2021
bd25302
Excluded DetailLexer completely (I think)
NazDia Aug 1, 2021
271079f
Lexer process changed
Aug 3, 2021
2b08ed8
Semantic errors fixed
Aug 3, 2021
8fd2752
Merge branch 'lexer_change_luiso' into lexing-parsing
Aug 3, 2021
0d2cb37
The text was been parsed twice.
Aug 8, 2021
29949f7
Merge branch 'dev' into lexing-parsing
Aug 8, 2021
8e7efde
Ply token types map
NazDia Aug 8, 2021
7aecac2
Added EOF in lexer
NazDia Aug 8, 2021
65be050
Fixed tokens position, and empty tokens in parser
NazDia Aug 8, 2021
ed1c546
Fixed double parsing
NazDia Aug 8, 2021
a2f2ac6
Merge pull request #2 from WataLuisoDalmauCompiler/lexing-parsing
luisoibarra Aug 9, 2021
31504ff
testing changed
lukedalmau Aug 9, 2021
2fe7201
Merge branch 'dev' into Sintax-Tests
Aug 8, 2021
e30a37d
.. for ../tests
lukedalmau Aug 9, 2021
2e2a085
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Aug 9, 2021
9097865
PlyLexer added to cool2 package
Sep 17, 2021
d40628a
Removed cool2 module access inside cool2 package
Sep 17, 2021
0f8b5f2
Folder structure changed
Sep 17, 2021
b68021a
Added position by token feature to PositionError
Sep 17, 2021
6ae75d3
minor changes
lukedalmau Sep 17, 2021
3fa7d2c
Merge pull request #3 from WataLuisoDalmauCompiler/Sintax-Tests
luisoibarra Sep 17, 2021
5616fed
Merge pull request #4 from WataLuisoDalmauCompiler/normalizing
luisoibarra Sep 17, 2021
c622515
Grammar fixed
Sep 20, 2021
95e6e55
FInal grammar fixes
Sep 21, 2021
57aa9c1
Merge pull request #5 from WataLuisoDalmauCompiler/dev
luisoibarra Sep 21, 2021
d89b833
Generating CIL code
Sep 27, 2021
983f4c5
Test Problems Fixed.
Sep 28, 2021
e7e7f02
Nodes added.
Oct 5, 2021
9cccd07
Let In CIL
Oct 9, 2021
3dd79f3
CIL Interpreter
Oct 9, 2021
8103705
Inicio del reporte
Oct 18, 2021
c826cb0
SELF_TYPE working CIL
Oct 18, 2021
0e20390
SELF_TYPE and CaseNodes handled
Oct 18, 2021
710e372
GitHub testing fixes
Oct 30, 2021
2d6e986
Fixing requirements
Oct 31, 2021
da40e29
Merge pull request #6 from WataLuisoDalmauCompiler/cil
luisoibarra Oct 31, 2021
eb10cce
MIPS Update
Oct 31, 2021
b95b6f4
Create std.cool
luisoibarra Nov 3, 2021
6eb4549
Started 'type definition' in MIPS
NazDia Nov 4, 2021
9a838d2
Merge pull request #8 from WataLuisoDalmauCompiler/generation_t_def
luisoibarra Nov 9, 2021
3d237e1
Generation Nodes Added
Nov 23, 2021
57c665d
CIL->MIPS Nodes added
Feb 14, 2022
26edfee
IO Operations added. Not working yet
Feb 15, 2022
45e816e
Ready for sprint
Feb 15, 2022
f9f1f6a
Simple printing works
Feb 15, 2022
254285d
creado test de interpreter de cil (no pincha)
NazDia Feb 16, 2022
98386f0
little change
NazDia Feb 17, 2022
1a285de
Manual de Cil inicializado
lukedalmau Feb 17, 2022
6af37a4
Get/Set Attributes
luisoibarra Feb 17, 2022
64bab29
Printing class arguments
luisoibarra Feb 17, 2022
67e780a
comment argument = None
lukedalmau Feb 17, 2022
d898d28
Merge manual con la rama generation
lukedalmau Feb 17, 2022
651b262
Merge branch 'generation' of
lukedalmau Feb 17, 2022
8a95dd8
Function Call working
luisoibarra Feb 18, 2022
d0702d9
Merge branch 'generation' of https://github.com/WataLuisoDalmauCompil…
lukedalmau Feb 18, 2022
00b045c
comment node added to cil and cil_visitor
lukedalmau Feb 18, 2022
dfd3422
arith.cl pasa de cool a cil
NazDia Feb 18, 2022
16ce64e
Read String Working
luisoibarra Feb 18, 2022
52c329c
row and column added to arguments in cil_visitor
lukedalmau Feb 18, 2022
fd1bf85
row and column added to arguments in cil_visitor
lukedalmau Feb 18, 2022
8a27b40
Merge branch 'generation' of https://github.com/WataLuisoDalmauCompil…
lukedalmau Feb 18, 2022
2001d15
Merge pull request #9 from WataLuisoDalmauCompiler/w_gen
luisoibarra Feb 18, 2022
462ea08
Merge pull request #10 from WataLuisoDalmauCompiler/generation
luisoibarra Feb 18, 2022
cc14fd2
pequeno bug arreglado (no se si hayan mas)
NazDia Feb 18, 2022
60ec1a6
Void checking works
luisoibarra Feb 18, 2022
bffb961
Merge pull request #11 from WataLuisoDalmauCompiler/w_dev
luisoibarra Feb 18, 2022
a83e111
Merge branch 'dev' into generation
luisoibarra Feb 18, 2022
274f6da
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 18, 2022
9bbb8cc
Fixing Array Issues
luisoibarra Feb 19, 2022
ef4c5ab
Simple Generation Testing
luisoibarra Feb 19, 2022
624bdcf
Merge pull request #12 from WataLuisoDalmauCompiler/generation
luisoibarra Feb 19, 2022
518cbda
Merge pull request #7 from WataLuisoDalmauCompiler/fix_tests
luisoibarra Feb 19, 2022
c5583ca
InitInstanceFather fixes
luisoibarra Feb 20, 2022
a90a4aa
CIL MANUAL UPDATED
lukedalmau Feb 20, 2022
592601b
attrs
NazDia Feb 20, 2022
2a12664
Case Scope Bug Fixed
luisoibarra Feb 20, 2022
d079613
Merge pull request #13 from WataLuisoDalmauCompiler/w_dev
luisoibarra Feb 20, 2022
78524de
string cleaner in cilrunner
NazDia Feb 20, 2022
ee5a3ab
Copy and Length Working
luisoibarra Feb 20, 2022
04dab8c
Manual actualizado
lukedalmau Feb 20, 2022
c107dc2
Substring Working
luisoibarra Feb 20, 2022
40d383f
operadores , funcion y asignacion agregados al manual
lukedalmau Feb 20, 2022
798f078
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 20, 2022
4069304
TypeNameNode added to CIL
luisoibarra Feb 21, 2022
912dc9a
Manual de CIL review
luisoibarra Feb 21, 2022
22f93a6
Merge branch 'dev' into dalmau
luisoibarra Feb 21, 2022
16dc591
TypeName Working
luisoibarra Feb 21, 2022
bfe0bea
Concat Working
luisoibarra Feb 21, 2022
299df85
DynamicCall Self Type and @ working
luisoibarra Feb 21, 2022
56f60d9
Update TODO.md
luisoibarra Feb 21, 2022
51baf65
Merge commit '56f60d9d35b8a1854ae722970abe39dae594c9d1' into w_dev
NazDia Feb 21, 2022
1a3c1c7
Length Fixed
luisoibarra Feb 21, 2022
ad76469
Eliminada recoleccion de atributos inicial hasta proximo aviso
NazDia Feb 21, 2022
6592dfc
Merge commit '1a3c1c7d4bd7875dbbbd892e6fa4f935b37c881a' into w_dev
NazDia Feb 21, 2022
19e62a6
div interpreter
NazDia Feb 22, 2022
683daae
Merge branch 'w_dev' into dev
luisoibarra Feb 22, 2022
6db866d
Merge branch 'w_dev' into dev
luisoibarra Feb 22, 2022
12774e5
Case Of Error
luisoibarra Feb 22, 2022
1e1b242
No genera metodos dobles
NazDia Feb 22, 2022
8be531c
row ,column and comment correctly added
lukedalmau Feb 22, 2022
4c5b4ba
Book Working CIL Interpreter
luisoibarra Feb 22, 2022
f998a4a
Book Working CIL Interpreter
luisoibarra Feb 22, 2022
f143118
Tests Working
Feb 22, 2022
38fc452
Dummy Commit
Feb 22, 2022
6e858f7
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 22, 2022
309b60f
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 22, 2022
e6b1b8f
Merge branch 'dalmau' of https://github.com/WataLuisoDalmauCompiler/c…
lukedalmau Feb 22, 2022
66921f9
Merge branch 'testing_fix' into dev
Feb 22, 2022
4eae67c
Fixing string manipulation with new representation
luisoibarra Feb 22, 2022
0f61fe3
Merge pull request #14 from WataLuisoDalmauCompiler/dalmau
luisoibarra Feb 22, 2022
2ca7c5c
Fixing missing arguments
luisoibarra Feb 22, 2022
47dd839
Merge branch 'dev' into string_mips_change
luisoibarra Feb 22, 2022
bee02a4
row, column and comment from CIL Nodes
lukedalmau Feb 22, 2022
473f8f9
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 22, 2022
e37ecab
minor errors fixed
lukedalmau Feb 22, 2022
56405a3
Program Node comment label error fixed
lukedalmau Feb 22, 2022
a0e48ae
Merge branch 'dev' into string_mips_change
Feb 22, 2022
5902e7c
visual changes
lukedalmau Feb 22, 2022
c4924af
print-cool fixed CIL interpreter
Feb 22, 2022
f9114f5
String Manipulation Fixed
Feb 22, 2022
f04fabc
Merge branch 'string_mips_change' into dev
Feb 22, 2022
626cf50
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 22, 2022
616a1dc
post_merge
NazDia Feb 22, 2022
8ef8864
CIL Type Generation with no errors
Feb 23, 2022
143ab29
Abort msg modified
NazDia Feb 23, 2022
9e5e402
Merge branch 'w_dev' into dev
Feb 22, 2022
b7cc0dd
Reference Type Equal added
Feb 23, 2022
1857356
case testing
lukedalmau Feb 23, 2022
d64bcd1
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 23, 2022
56b2efd
Equal Change, Value Types static calls
Feb 23, 2022
ffa1948
Testing Situation
Feb 23, 2022
1f27ea4
Small fix
Feb 23, 2022
0b9961c
XorNode added
lukedalmau Feb 23, 2022
334e44e
Fixing Div
luisoibarra Feb 23, 2022
7aa6c7e
Void Fix Break Case
Feb 23, 2022
f63bbb7
Merge branch 'case-testing' into dev
luisoibarra Feb 23, 2022
1d49bb6
Remove newline from input string
luisoibarra Feb 23, 2022
5ff7076
Adding \n to the end of abort message
Feb 23, 2022
3d8035b
in case that the type of the case is void
lukedalmau Feb 23, 2022
543544d
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 24, 2022
87b3493
Merge branch 'case-testing' into dev
Feb 23, 2022
4f63990
If input is empty don't remove nothing
Feb 24, 2022
43035dc
Hairyscary remaining test
Feb 24, 2022
9aeaf04
Hairy Working
Feb 24, 2022
f576b66
book testing passed
lukedalmau Feb 24, 2022
adf8786
Merge branch 'case-fix' of https://github.com/WataLuisoDalmauCompiler…
Feb 23, 2022
dd745d2
Merge commit '43035dca2ffc8c37528db1d2e9b7110764b2ffa5' into w_dev
NazDia Feb 24, 2022
6d7cade
CRLF to LF
Feb 24, 2022
4f1aef3
Project structure updated
Feb 24, 2022
01d9658
Forcing tab to space convertion
Feb 24, 2022
1b93f21
Original attributes4 file
Feb 24, 2022
e22d95b
Merge branch 'dev' into change_structure
Feb 24, 2022
3b052db
Old tests remove
Feb 24, 2022
69a821e
Missing lib added
Feb 24, 2022
be155dc
Merge commit '9aeaf04c5d89103c69351cf0966b3581adb5fa3a' into w_dev
NazDia Feb 24, 2022
c87160f
new_reqs
NazDia Feb 24, 2022
e52320f
Merge branch 'w_dev' into dev
Feb 24, 2022
2e1b1a1
cambiando los 3 tabs por 4 espacios
lukedalmau Feb 24, 2022
0e2b1aa
NO cambiando los 3 tabs por 4 espacios
lukedalmau Feb 24, 2022
fef3081
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 24, 2022
11d0d63
3 tabs
lukedalmau Feb 24, 2022
4200569
PYTHON 3.10 Semanic fix
Feb 24, 2022
287fdc3
Report V0.1
Feb 24, 2022
6942093
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
Feb 24, 2022
cfac9c6
initial_gen fixes
lukedalmau Feb 25, 2022
0e27f46
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 25, 2022
ca7a9ae
better mips formatting when printing
lukedalmau Feb 25, 2022
6fec7af
updated report.md in test_mips.sh section
lukedalmau Feb 25, 2022
c0fb19b
Report v0.2
luisoibarra Feb 25, 2022
30338fa
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
luisoibarra Feb 25, 2022
900594b
Update report.md
luisoibarra Feb 25, 2022
a60647f
report.md minor changes
lukedalmau Feb 25, 2022
2a3eb2f
Merge branch 'dev' of https://github.com/WataLuisoDalmauCompiler/cool…
lukedalmau Feb 25, 2022
83466e6
Report to PDF
luisoibarra Feb 25, 2022
6f6a50a
Merge pull request #17 from WataLuisoDalmauCompiler/dev
luisoibarra Feb 25, 2022
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