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

cool-compiler #54

Open
wants to merge 487 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
487 commits
Select commit Hold shift + click to select a range
f383e67
Rewrite methods and attribute declaration transaltion to ccil, plus s…
rodrigo-pino Feb 22, 2022
e863078
Mayor changes
rodrigo-pino Feb 22, 2022
bd9b8bd
Delete old methods. They are now in ccil_gen.py
rodrigo-pino Feb 23, 2022
73d9a86
Minor bug fixing and refactoring
rodrigo-pino Feb 23, 2022
96bff9d
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 23, 2022
06f3bc3
Update CCILToMIPSGenerator
adrian13579 Feb 23, 2022
61e786e
Minor refactoring in ccil visitor
rodrigo-pino Feb 23, 2022
04d8264
Add and redefine Atom CCIl nodes
rodrigo-pino Feb 23, 2022
a20e1e5
Add barebones for visiting constant values
rodrigo-pino Feb 23, 2022
598bcdf
Fix and improve Call and Vcall
rodrigo-pino Feb 23, 2022
236eebc
Remove helpers which turned out not to be so helpfuls
rodrigo-pino Feb 23, 2022
ff01ddb
Minor change in docs
rodrigo-pino Feb 23, 2022
7ebefbe
Fix type annotations syntax
adrian13579 Feb 23, 2022
cb226cb
Minor changes
rodrigo-pino Feb 23, 2022
7b51225
Add more Operation as nodes (getAttr, setAttr, load, ...) and Data cl…
rodrigo-pino Feb 23, 2022
91ee178
Add a simplified version of semantics scope, to track all cool variab…
rodrigo-pino Feb 23, 2022
16671c8
Mayor bug fixing in ccil visitor and some changes
rodrigo-pino Feb 23, 2022
eb490d9
Add simple id(VariableNode) translation to ccil
rodrigo-pino Feb 23, 2022
7611835
Remove ExpressionNode
adrian13579 Feb 23, 2022
82aa5de
Handle case where node is None in class Node inicialization
adrian13579 Feb 23, 2022
36217a7
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 23, 2022
ee2bf59
fix(ccil_visitor): add param and attributes with old and new id inste…
rodrigo-pino Feb 24, 2022
1ee5873
Minor changes
rodrigo-pino Feb 24, 2022
f0df4c7
Update mips_gen.py
adrian13579 Feb 24, 2022
18a46d0
Fix function call in ccil_mips_gen.py
adrian13579 Feb 24, 2022
2dfb13f
Add syscall node in ast
adrian13579 Feb 24, 2022
4621ca7
Create __init__.py in code_gen
adrian13579 Feb 24, 2022
90d156b
Add push and pop methods in CCILToMIPSGenerator
adrian13579 Feb 24, 2022
9261a9f
Fix dynamic function call
adrian13579 Feb 24, 2022
62010af
Add new nodes and other changes
rodrigo-pino Feb 24, 2022
e0f57f0
Add attibute to GetAttrOpNode
rodrigo-pino Feb 24, 2022
10bb4b9
Minor refactoring
rodrigo-pino Feb 24, 2022
ee51b8f
Minor change
rodrigo-pino Feb 24, 2022
1323361
Add new nodes
adrian13579 Feb 24, 2022
bcdf7a8
Add register in constants.py
adrian13579 Feb 24, 2022
f05ad76
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 24, 2022
46d7f85
Add new nodes to visitor
adrian13579 Feb 24, 2022
2614527
Remove node from the constructor of all ccil ast nodes
rodrigo-pino Feb 24, 2022
94d12d8
Add Multiply node
adrian13579 Feb 24, 2022
9d8646f
Add more operation nodes to ccil ast
rodrigo-pino Feb 24, 2022
261dadf
Add definition for built in classess
rodrigo-pino Feb 24, 2022
86a03c2
Bug fixing and minor changes
rodrigo-pino Feb 24, 2022
0036dec
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 24, 2022
608a0eb
Add more nodes to CCILToMIPSGenerator
adrian13579 Feb 24, 2022
217dcf3
Bug fixing
rodrigo-pino Feb 24, 2022
bcf6b4d
Add string representation to some ccil nodes
rodrigo-pino Feb 24, 2022
850a5d2
Add simple ccil test
rodrigo-pino Feb 24, 2022
53f1442
Add return to function string representation
rodrigo-pino Feb 24, 2022
996462e
Update setAttr attributes
rodrigo-pino Feb 24, 2022
06b430c
Add more string representations for ccil nodes
rodrigo-pino Feb 25, 2022
3f0c8fb
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
2621484
Bug fixing and improve node to string representation
rodrigo-pino Feb 25, 2022
08e67df
Fix several bugs
rodrigo-pino Feb 25, 2022
987118e
Add new tests
rodrigo-pino Feb 25, 2022
63540d3
Fix mips to string generator
adrian13579 Feb 25, 2022
a7c3038
Add runtime error if no case branch is executed
rodrigo-pino Feb 25, 2022
e1d961a
Change pattern matching for if else expressions
rodrigo-pino Feb 25, 2022
abe805d
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
a3a6169
Fix bug in ccil pattern match error handling
rodrigo-pino Feb 25, 2022
af33df9
Add simple case test
rodrigo-pino Feb 25, 2022
56f656f
Minor hierarchy change
rodrigo-pino Feb 25, 2022
b844fc1
Add division by zero error detection and other bug fix
rodrigo-pino Feb 25, 2022
56bb966
Add default init values when declaring new attributes and variables.
rodrigo-pino Feb 25, 2022
c962d97
Fix bug where FunctionNode ret attribute has wrong value
rodrigo-pino Feb 25, 2022
410c227
Update attr, locals and param prefix
rodrigo-pino Feb 25, 2022
80f238c
Improve and fix errors on class init function
rodrigo-pino Feb 25, 2022
7566d3d
Add attribute test
rodrigo-pino Feb 25, 2022
ba09161
Minor refactoring and string representation improvements
rodrigo-pino Feb 25, 2022
798776d
Bug fix when getting attributes and correctly initialized unitiliazed…
rodrigo-pino Feb 25, 2022
4ccd479
Add runtime error detection when calling from void expresion
rodrigo-pino Feb 25, 2022
9419d59
Update ccil ast
rodrigo-pino Feb 25, 2022
4bb8e48
Minor improvements
rodrigo-pino Feb 25, 2022
d2fa0cf
Fix location of locals id relative to functions
adrian13579 Feb 25, 2022
5137974
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
71d470b
Minor refactoring
rodrigo-pino Feb 25, 2022
c88c901
Refactoring and minor bug fix
rodrigo-pino Feb 25, 2022
c7944c4
Rework is void expressions + add warnings + improve error texts
rodrigo-pino Feb 25, 2022
a22edef
Remove isVoid node
rodrigo-pino Feb 25, 2022
1d681f4
Add new tests
rodrigo-pino Feb 25, 2022
2b6b8a0
Add lw and sw to MIPS string generator
adrian13579 Feb 25, 2022
e0c1d46
Add function_call test
adrian13579 Feb 25, 2022
6ea7b48
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
bff5f44
Fix minor bug in semantics where let node expression was not being st…
rodrigo-pino Feb 25, 2022
ec26a61
Fix type error
rodrigo-pino Feb 25, 2022
cbba10c
Add tests using let expessions
rodrigo-pino Feb 25, 2022
b9c95e6
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
80ca618
Fix bugs in define_built_ins and refactored code
rodrigo-pino Feb 25, 2022
4735b41
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
7ee9073
Fix MethodCall expression value when none
rodrigo-pino Feb 25, 2022
208ebee
Fix bugs in Call and Vcall
rodrigo-pino Feb 25, 2022
7c78883
Fix naming and instruction on substring built in function
rodrigo-pino Feb 25, 2022
b951dde
Add flag to print or not buil ins
rodrigo-pino Feb 25, 2022
10c0715
Refactoring and warning improvement
rodrigo-pino Feb 25, 2022
7a131e1
Minor bug fixing
rodrigo-pino Feb 25, 2022
9fb2e73
Fix frame_pointer setting during function call
adrian13579 Feb 25, 2022
aac722a
Add print_int test
adrian13579 Feb 25, 2022
23973a7
Minor docs improvmenets
rodrigo-pino Feb 25, 2022
664b62c
delete old docs
rodrigo-pino Feb 25, 2022
1a103f0
Minor refactoring
rodrigo-pino Feb 25, 2022
c98238b
Add mflo instruction to MIPS AST
adrian13579 Feb 25, 2022
7e03832
Fix bug, not swapping SELF_TYPE method return type for caller type
rodrigo-pino Feb 25, 2022
5add82b
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
9f0a2a4
All types now have all signatures from their ancestors
rodrigo-pino Feb 25, 2022
077c129
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
de9f90b
Add entry function
rodrigo-pino Feb 25, 2022
d93b571
Hot fix in entry func and delete some prints
rodrigo-pino Feb 25, 2022
fbcf0ec
add entry func
rodrigo-pino Feb 25, 2022
158d2f7
Add entry function to mips code
adrian13579 Feb 25, 2022
c1a193e
Add simple_attr test
adrian13579 Feb 25, 2022
b437dba
Change entry func name to main and minor other fix
rodrigo-pino Feb 25, 2022
7f81db8
Update docs
rodrigo-pino Feb 25, 2022
97d2324
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
15a27eb
Fix register during syscall to allacate memory
adrian13579 Feb 25, 2022
30d0b43
Minor fix in return
rodrigo-pino Feb 25, 2022
3d4922b
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
936681e
Hotfix, change method id for function id in entry call
rodrigo-pino Feb 25, 2022
b310170
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
e5ee4d5
Bug fix
rodrigo-pino Feb 25, 2022
bb14f13
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 25, 2022
7b4cfb4
Add caller to self first arg of vcalls
rodrigo-pino Feb 26, 2022
5377874
Add caller to vcall
rodrigo-pino Feb 26, 2022
aaa2035
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 26, 2022
a2c3fc8
Commented half developed code
rodrigo-pino Feb 26, 2022
61b2664
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 26, 2022
ced1b50
Add allocation_call test
adrian13579 Feb 26, 2022
f55791e
Improve docs
rodrigo-pino Feb 26, 2022
fc39b16
Bug fix
rodrigo-pino Feb 26, 2022
ba777a7
Update codegen docs
rodrigo-pino Feb 26, 2022
98fd3c2
Update semantic and inference docs
rodrigo-pino Feb 26, 2022
77de5a5
Update rodro's github user name
rodrigo-pino Feb 26, 2022
3ebbdd0
Add tilde
rodrigo-pino Feb 26, 2022
e872a33
Add initial report
rodrigo-pino Feb 26, 2022
6a9c352
Fix stack_frame_pointer during function call
adrian13579 Feb 27, 2022
7f7d3e5
Add strings to .data section
adrian13579 Feb 27, 2022
3e15d2e
Fix BranchOnEqual generation to mips code
adrian13579 Feb 27, 2022
511278b
Small change in register notation
adrian13579 Feb 27, 2022
0193640
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 27, 2022
761e57b
Add IdNode visitor
adrian13579 Feb 27, 2022
2b43117
Add test let_instantiate.cl
adrian13579 Feb 27, 2022
c11dfc9
Add ply to requirements
adrian13579 Feb 27, 2022
1203bce
Swap SELF_TYPE type to current type in classes atributes
rodrigo-pino Feb 27, 2022
a7b2448
Override methods keep same location but change unique ids
rodrigo-pino Feb 27, 2022
41072a1
Fix naming bugs
rodrigo-pino Feb 27, 2022
da78cf0
Fix naming issues + other bugs
rodrigo-pino Feb 27, 2022
991f9c0
Update simple_attr.cl test
adrian13579 Feb 27, 2022
75febaf
Fix, using SELF_TYPE instead of current type when setting an attribute
rodrigo-pino Feb 27, 2022
e698cd9
Add attr.cl test
adrian13579 Feb 27, 2022
b5635bf
Add len builtin function
adrian13579 Feb 27, 2022
bc16d78
Add length builtin function
adrian13579 Feb 27, 2022
5384d5e
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 27, 2022
9226618
Minor bug fix, inherited attributes were not being defined in scope
rodrigo-pino Feb 27, 2022
3205aaf
Bug fix with naming from inherited attributes
rodrigo-pino Feb 27, 2022
ec1fc44
Update attr.cl test
adrian13579 Feb 27, 2022
f3e38e3
Minor change to prevent redefinition of attributes on scope
rodrigo-pino Feb 27, 2022
5768e33
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 27, 2022
6d54a92
All string types use calls instead of vcalls
rodrigo-pino Feb 27, 2022
1fe67fa
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 28, 2022
06dfd34
Fix length function
adrian13579 Feb 28, 2022
f44d9a1
Fix string in lexer
adrian13579 Feb 28, 2022
164fe67
Fix string in lexer
adrian13579 Feb 28, 2022
c9eca86
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Feb 28, 2022
dd5e512
Improve Case Of expressions
rodrigo-pino Feb 27, 2022
850e4c6
Minor update, store succesor list on case option nodes
rodrigo-pino Feb 28, 2022
0f95741
Improve error handling during pattern matching
rodrigo-pino Feb 28, 2022
f310594
Improve CIL case of translation
rodrigo-pino Feb 28, 2022
4114343
Add new test
rodrigo-pino Feb 28, 2022
7048590
Fix attributes inicialization during object allocation
adrian13579 Mar 1, 2022
1247d6c
Fix attributes inicialization during object allocation
adrian13579 Mar 1, 2022
06c03ef
Add cmp_string.cl test
adrian13579 Mar 1, 2022
7baf3e3
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Mar 1, 2022
c03e1d2
Delete unused constants
rodrigo-pino Mar 1, 2022
3ffe8d8
Delete unimplemented visit to EqualNode
rodrigo-pino Mar 1, 2022
e64a03c
Add source string to substr operator
rodrigo-pino Mar 1, 2022
acb20ac
Hot fix in case when adding an error string
rodrigo-pino Mar 1, 2022
5c0bdcc
Add another case test
rodrigo-pino Mar 1, 2022
f08a776
Add optimization when there is pattern mathcing with Object class
rodrigo-pino Mar 1, 2022
954861d
Add optimization to not pattern match with a class successor if this …
rodrigo-pino Mar 1, 2022
b171fe7
Add concat string builtin
adrian13579 Mar 2, 2022
fbb381d
Add copy node and str representation for copy node and type name node
rodrigo-pino Mar 2, 2022
baf7a21
Improve copy method in builtin and add static type to current type na…
rodrigo-pino Mar 2, 2022
1f209ef
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Mar 3, 2022
c4980dc
Add more builtin function
adrian13579 Mar 3, 2022
b20fee4
Bug fix where selftype was not being swaped by current type
rodrigo-pino Mar 3, 2022
1d7b0b0
Fix ComplementNode visit in types_inferencer
adrian13579 Mar 3, 2022
778cc3d
Builtin types are represented as the rest of the types
adrian13579 Mar 3, 2022
469e905
Merge branch 'dev' of https://github.com/CoolCows/cool-compiler-2021 …
adrian13579 Mar 3, 2022
213d191
Add bool type to ccil
rodrigo-pino Mar 3, 2022
4743d4e
Add Bool node
rodrigo-pino Mar 3, 2022
7990bd7
Add Int and Bool builtins. Box Int, String and Bool primitive data types
rodrigo-pino Mar 3, 2022
4d5c0cb
Update CCIL Program string representation
rodrigo-pino Mar 3, 2022
b7d461b
Add read_str builtin
adrian13579 Mar 3, 2022
124011d
Merge branch 'dev' of https://github.com/CoolCows/cool-compiler-2021 …
adrian13579 Mar 3, 2022
b4a5879
Add BoolNode to ccil_mips_gen visitor
adrian13579 Mar 3, 2022
362ea43
Bug fix, storing equality result as Int instead of Bool
rodrigo-pino Mar 3, 2022
6edfa20
Fix operands type in binary operations
adrian13579 Mar 3, 2022
e7b4a6d
Fix shallow_copy builtin function
adrian13579 Mar 3, 2022
c284dad
Merge branch 'dev' of https://github.com/CoolCows/cool-compiler-2021 …
adrian13579 Mar 3, 2022
055c56d
Add object methods to bool and int class
rodrigo-pino Mar 3, 2022
6ce885e
Add selftype.cl test
adrian13579 Mar 3, 2022
541286d
Merge branch 'dev' of https://github.com/CoolCows/cool-compiler-2021 …
adrian13579 Mar 3, 2022
2e1834e
Swap declared method selftype for current type, swap back when finnish
rodrigo-pino Mar 4, 2022
5b528f4
Fix bool transaltion value
rodrigo-pino Mar 4, 2022
e95b447
Add IfNode visit in ccil_mips_gen
adrian13579 Mar 4, 2022
db3628f
Bug fix, case void error is now given only when object address is 0, …
rodrigo-pino Mar 4, 2022
1cef7f0
Swap back body type to self type
rodrigo-pino Mar 4, 2022
f7812a9
Fix recursion when adding warning
rodrigo-pino Mar 4, 2022
573c258
Fix new SELF_TYPE
adrian13579 Mar 4, 2022
315f2e8
Add code generation pipeline
adrian13579 Mar 4, 2022
6b44c07
Add branch var to scope in case expression and bug fix in loop expres…
rodrigo-pino Mar 4, 2022
78bea17
Fix init function, attributes now see each other
rodrigo-pino Mar 4, 2022
96ea9f5
Bug fix in case expression
rodrigo-pino Mar 4, 2022
1d4a9c9
Bug fix, altering fval name affected previous assignation
rodrigo-pino Mar 4, 2022
06097d5
Add IsVoid and EqAddr nodes to ast
rodrigo-pino Mar 4, 2022
64ed301
Change equal node it splits depending on static type between str, int…
rodrigo-pino Mar 4, 2022
8f36d45
Add EqualAddrNode to ccil_mips_gen visitor
adrian13579 Mar 4, 2022
5797518
Add isvoid to ccil_mips_gen visitor
adrian13579 Mar 4, 2022
eccbecd
Remove attribute and renamed
rodrigo-pino Mar 4, 2022
f5f02d5
Change abort fucntion message
rodrigo-pino Mar 4, 2022
9ac13fa
Rename CurrentTypeName to TypeName in ccils_mips_gen visitor
adrian13579 Mar 4, 2022
8de31d9
Fix isvoid checks on different nodes, and minor bug fix in while expr
rodrigo-pino Mar 4, 2022
b6c4b53
Merge branch 'dev' of https://github.com/CoolCows/cool-compiler-2021 …
adrian13579 Mar 4, 2022
88aeef5
Bug fix
rodrigo-pino Mar 4, 2022
5cbd832
Add line end to abort function message
rodrigo-pino Mar 4, 2022
32af83a
Workflow error, change if for else if
rodrigo-pino Mar 4, 2022
236c301
Add operation that bound case expression to case var
rodrigo-pino Mar 4, 2022
a1ba182
Add string representation for all binary operators
rodrigo-pino Mar 4, 2022
66afa73
Bug fix. Checking left operand instead of right operando for zero div…
rodrigo-pino Mar 4, 2022
da09511
Fix error on input reading
adrian13579 Mar 4, 2022
b22643d
Fix ~ operator
adrian13579 Mar 8, 2022
bcbc1ee
Configure main pipeline
adrian13579 Mar 8, 2022
5464642
Update gitignore
rodrigo-pino Mar 9, 2022
726d4d3
Minor change
rodrigo-pino Mar 9, 2022
8c3b4e0
Add many tests
rodrigo-pino Mar 9, 2022
bec4db1
Mayor project re-structuring (first draw)
rodrigo-pino Mar 9, 2022
2e277ad
Move __main__.py to compiler
rodrigo-pino Mar 9, 2022
e7ae7cb
Minor execution changes
rodrigo-pino Mar 9, 2022
7fd4ab8
Fix imports after re-structuring
rodrigo-pino Mar 9, 2022
4b6180a
Restructure project
adrian13579 Mar 9, 2022
ecc1130
Add typer to requirements.txt
adrian13579 Mar 9, 2022
144ed88
Enhance CLI
adrian13579 Mar 9, 2022
823024a
Remove unnecessary comments
adrian13579 Mar 9, 2022
a3275ef
Remove .vscode
adrian13579 Mar 9, 2022
1721766
Update report
adrian13579 Mar 10, 2022
5ccff87
Update report
adrian13579 Mar 10, 2022
317adb5
Add report.pdf
adrian13579 Mar 10, 2022
dc08af2
Merge branch 'master' of https://github.com/CoolCows/cool-compiler-2021
adrian13579 Mar 10, 2022
6ca2e68
Delete old reports
rodrigo-pino Mar 10, 2022
5a19562
Update report pdf
rodrigo-pino Mar 10, 2022
d22cc3c
Update poetry dependencies
rodrigo-pino Mar 10, 2022
2ccf55b
Minor report update
rodrigo-pino Mar 14, 2022
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
34 changes: 34 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# Created by https://www.gitignore.io/api/visualstudiocode,linux,latex,python
# Edit at https://www.gitignore.io/?templates=visualstudiocode,linux,latex,python
#
*.mips
pyrightconfig.json

### LaTeX ###
## Core latex/pdflatex auxiliary files:
Expand Down Expand Up @@ -408,3 +411,34 @@ dmypy.json

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

src/__pycache__
src/cool_example.cl
src/testing.py
src/devdeb.py
src/zTests/Misc/00HelloRodro.cl
src/zTests/Misc/01Simple.cl
src/zTests/Misc/02Simple.cl
src/zTests/Misc/03Simple.cl
src/zTests/Misc/04SallySilly.cl
src/zTests/Misc/05Ackerman.cl
src/zTests/Misc/06FooBarRaz.cl
src/zTests/Misc/07MultipleClass.cl
src/zTests/Misc/08Cellullar.cl
src/zTests/Misc/09GameOfLife.cl
src/zTests/Misc/10BiG.cl
.gitignore
./gitignore
.gitignore
src/type_logger.py
src/zTests/Auto/00Simple.cl
src/zTests/Auto/01Assign.cl
src/semantics/notes.md
src/test.cl
src/test.cl
src/class1_error.txt
src/class1.cl
src/test.cl
src/dispatch6.cl
src/arithmetic8_error.txt
src/arithmetic8.cl
src/dispatch6_error.txt
Binary file added doc/report/img/class.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/report/img/object.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/report/img/pipeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
764 changes: 764 additions & 0 deletions doc/report/report.md

Large diffs are not rendered by default.

Binary file added doc/report/report.pdf
Binary file not shown.
15 changes: 6 additions & 9 deletions doc/team.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
members:
- name: Nombre Apellido1 Apellido2
github: github_id
group: CXXX
- name: Nombre Apellido1 Apellido2
github: github_id
group: CXXX
- name: Nombre Apellido1 Apellido2
github: github_id
group: CXXX
- name: Adrián Rodríguez Portales
github: adrian13579
group: C412
- name: Rdrigo Pino
github: rodrigo-pino
group: C412
203 changes: 203 additions & 0 deletions poetry.lock

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

18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[tool.poetry]
name = "cool-compiler-2021"
version = "0.1.0"
description = "COOL language compiler"
authors = ["rodrigo-pino <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.10"
pytest = "^6.2.5"
ply = "^3.11"
typer = "^0.4.0"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pytest
pytest-ordering
ply
typer
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = F811
Loading