Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Entrega final #52

Open
wants to merge 68 commits into
base: entrega-final
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
0b293e2
Initial commit
lorainemg Oct 31, 2019
2eefd51
First version of the parser and the lexer done
lorainemg Oct 31, 2019
e3f70aa
Merging with base project
lorainemg Jan 27, 2020
a2b2bcc
Organizing the project
lorainemg Jan 31, 2020
44b935c
Creating parser branch
lorainemg Jan 31, 2020
4635578
Adding type identifier in the lexer and the parser
lorainemg Jan 31, 2020
74129f8
Tracking line and column in the parser errors
lorainemg Feb 1, 2020
62f5ff2
Fixing formals and arguments list empty
lorainemg Feb 16, 2020
e7f6cd8
Adding error productions. All test working ok :)
lorainemg Feb 17, 2020
1e0b401
Merge https://github.com/matcom/cool-compiler-2020 into entrega-parser
lorainemg Feb 17, 2020
39525f9
Changing the format of the errors
lorainemg Feb 20, 2020
b7ceb8f
Testing the new cases and messing with the tester -_-
lorainemg Feb 21, 2020
2ecf728
Merge https://github.com/matcom/cool-compiler-2020 into testing
lorainemg Feb 24, 2020
8daea2c
Fixing Comments
amymsantos42 Feb 25, 2020
e4b5fc3
Fixing Strings
nolyfdezarias Feb 25, 2020
ce28fca
Fixing Strings
nolyfdezarias Feb 25, 2020
799f1b3
Testing errors in the parser
lorainemg Feb 25, 2020
8e9143e
Merge branch 'entrega-parser' of https://github.com/lorainemg/cool-co…
lorainemg Feb 25, 2020
11ff361
Everything working ok :). Last changes in the parser
lorainemg Feb 26, 2020
68b8604
Fixing last case
lorainemg Feb 27, 2020
b237d11
Adding names to Readme
lorainemg Feb 27, 2020
d837847
Adding the column property to the tokens and starting the semantic an…
lorainemg Apr 25, 2020
c13c6c4
Implementing self type
lorainemg Apr 26, 2020
d6990fd
Starting code generation phase
lorainemg Sep 23, 2020
5837b26
Adding gitignore
lorainemg Sep 24, 2020
977b7ee
Changing project structure
lorainemg Sep 24, 2020
71fac70
Starting report
amymsantos42 Oct 7, 2020
ec393e2
last update
amymsantos42 Oct 28, 2020
0190977
I dont know why this files are changed
amymsantos42 Oct 28, 2020
f88d024
Commiting last changes in column to delete branch columns
nolyfdezarias Oct 28, 2020
911a53d
Merge branch 'columns' into development
nolyfdezarias Oct 28, 2020
17f77de
Doing attribute initialization (using constructors)
nolyfdezarias Oct 29, 2020
3670072
Only missing a way to represent conforms notation in cil
nolyfdezarias Oct 30, 2020
4d79d72
Getting ready to push
nolyfdezarias Oct 30, 2020
8874a9f
Merge branch 'development' of https://github.com/lorainemg/cool-compi…
nolyfdezarias Nov 2, 2020
3e80799
I think i finished optimization within a basic block. Basic functions…
amymsantos42 Nov 7, 2020
859e723
Finishing simple nodes
amymsantos42 Nov 7, 2020
b3c473d
Finishing method call architecture
amymsantos42 Nov 8, 2020
d5751b6
Finishing all methods in mips visitor. I have to revisit reference va…
amymsantos42 Nov 9, 2020
ff39e2c
Fixing dispatch method (actually implemented dispatch methods in misp)
amymsantos42 Nov 11, 2020
d9d2b28
Only missing integration with built in types (i think). Everything ne…
amymsantos42 Nov 11, 2020
5f7612b
Fixing some mistakes
amymsantos42 Nov 12, 2020
194afaf
built-in Functions CIL
nolyfdezarias Nov 12, 2020
2727f7c
Fixing syntactics errors in mips code. Time to have fun with spim :)
amymsantos42 Nov 13, 2020
2c90b28
Adding constructor call to set attrs and fixing some other syntactic …
amymsantos42 Nov 13, 2020
8288480
Merge branch 'development' of https://github.com/lorainemg/cool-compi…
amymsantos42 Nov 13, 2020
2e1c0a2
Merging the built in types in project
nolyfdezarias Nov 13, 2020
0eab07e
Mips code to built in types done, missing checks for literal values
nolyfdezarias Nov 15, 2020
b14b09f
Fixed some errors in built-ins. Already started testing with spim :)
nolyfdezarias Nov 16, 2020
11f488e
All built in functions and almost all functions tested :)
nolyfdezarias Nov 17, 2020
d0267a5
Merge branch 'entrega-final' of https://github.com/matcom/cool-compil…
nolyfdezarias Nov 24, 2020
603d900
Changing errors names
Nov 25, 2020
9b70b3d
All semantic tests passed ^^. Probably should check column position f…
Nov 25, 2020
e927ad0
Cleaning some files
Nov 25, 2020
355e3b7
Adding strings equality
nolyfdezarias Nov 25, 2020
8768ee0
Implementing case node and conforms in mips
nolyfdezarias Nov 26, 2020
f241b85
Runtime errors implemented
nolyfdezarias Nov 26, 2020
50db1e6
Starting codegen tests
nolyfdezarias Nov 26, 2020
3ac6d60
Fixing bugs
nolyfdezarias Nov 28, 2020
e9ca378
Fixing built in classes. Almost all tests passed
nolyfdezarias Nov 29, 2020
6dab6e1
Adding abort message. All tests passed
nolyfdezarias Nov 29, 2020
13ebdb4
Getting ready to push. All tests passed :)))
nolyfdezarias Nov 29, 2020
0dffbae
Changing object representation a bi
nolyfdezarias Nov 29, 2020
5633a73
Almost finished report ;)
amymsantos42 Nov 30, 2020
e4fb29e
Adding strings and comments treatment in lexer in report
nolyfdezarias Nov 30, 2020
ea69736
Adding boxing of int. bool and string
Nov 30, 2020
bad4406
Reviewing and adding last changes to report. Getting ready to deliver
Nov 30, 2020
78c2297
Fixing litle bug in case nodes. Updating report. Hopefully last commi…
Nov 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
690 changes: 280 additions & 410 deletions .gitignore

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions .idea/cool-compiler-2020.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

281 changes: 281 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2020 School of Math and Computer Science, University of Havana

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2020 School of Math and Computer Science, University of Havana
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading