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

Entrega Final #56

Open
wants to merge 594 commits into
base: entrega-final
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
594 commits
Select commit Hold shift + click to select a range
3876342
Merge branch 'grammar_review' into visitors
e1Ru1o Sep 15, 2020
42129e2
[builder] - Funcion parameters must not be `SELF_TYPE`
e1Ru1o Sep 15, 2020
2bb681e
[checker] - Branch type must not be `SELF_TYPE`
e1Ru1o Sep 15, 2020
1293c77
[semantic] - Add a class for manage `SELF_TYPE`
e1Ru1o Sep 15, 2020
1b5c3f8
[checker] - Define types as `SELF_TYPE` instead of use the `current_c…
e1Ru1o Sep 15, 2020
f976505
[checker] - Update and remove unnecessary `fixed_type` calls
e1Ru1o Sep 15, 2020
fc8aa98
[checker] - Return the caller type in function/member calls when the …
e1Ru1o Sep 15, 2020
ec4aec2
[checker] - Use always the `fixed_type` in the `LCA` computation
e1Ru1o Sep 15, 2020
97ecbe5
[makefile] - Add a rule for save code.cl as a test
e1Ru1o Sep 15, 2020
e14ee4a
[inferencer] - If an `AUTO_TYPE` conforms to `SELF_TYPE`, `SELF_TYPE`…
e1Ru1o Sep 15, 2020
e8e95cd
[sematic][checker] - Remove the `fixed_to` method of `SelfType`
e1Ru1o Sep 15, 2020
a91c402
[cil] - Add support for SELF_TYPE
AntiD2ta Sep 16, 2020
8e33a72
Merge remote-tracking branch 'origin/visitors' into CIL_AST
AntiD2ta Sep 16, 2020
4e4f892
[verifier] - Add a new visitor
e1Ru1o Sep 16, 2020
b2118ca
[main] - Add the TypeVerifier to the main pipeline
e1Ru1o Sep 16, 2020
cb27f30
[checker] - Add a missing line
e1Ru1o Sep 16, 2020
e3fbe24
[inferencer] - Avoid executing multiple visits when node is a BinaryN…
e1Ru1o Sep 17, 2020
1cb2e57
[checker] - Make class attributes visible within their initialization…
e1Ru1o Sep 17, 2020
bb9d4c9
[checker] - Define let attributes after their initialization
e1Ru1o Sep 17, 2020
0c11b3b
[checker] - Avoid the error report in FunctionCallNode when the calle…
e1Ru1o Sep 17, 2020
0cf0030
[checker] - Add an error when a case branch is duplicated
e1Ru1o Sep 17, 2020
9813f7f
[mips] Add copy function to mips memory manager lib and start GC_coll…
mauricio1802 Sep 17, 2020
158efc4
[mips] Add check_if_is_object routine
mauricio1802 Sep 17, 2020
9b01b77
[mips] Add gc_collect routine
mauricio1802 Sep 20, 2020
3b70652
Merge branch 'Adding_memory_manager_for_mips' into MIPS_AST
mauricio1802 Sep 20, 2020
011ea3e
[mips] Fix error in check_if_is_object routine
mauricio1802 Sep 20, 2020
d05ef1a
[mips] Create snippet for object creation
mauricio1802 Sep 20, 2020
a10bb49
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Sep 20, 2020
6a8c53b
[mips] Change how cil.AllocateNode was converted to mips instructions
mauricio1802 Sep 20, 2020
67a037b
[mips] Fix size in proto objects
mauricio1802 Sep 20, 2020
f17374e
[mips] Add snippet for objects copy
mauricio1802 Sep 21, 2020
ec76b58
[mips] Add cil.CopyNode case to visit function
mauricio1802 Sep 21, 2020
47067ef
[mips] Fix some errors
mauricio1802 Sep 21, 2020
2554fb5
[mips] Fix errors in cool_to_cil visitor cool.AttributeDeclarationNod…
mauricio1802 Sep 21, 2020
4a87df0
[mips] Add equals routine to mips_lib.asm
mauricio1802 Sep 21, 2020
842c552
[mips] Add cil.EqualNode case to cil_to_mips visitor
mauricio1802 Sep 21, 2020
b5486a5
[mips] Add cil.LabelNode case to cil_to_mips visitor
mauricio1802 Sep 21, 2020
c0afa17
[mips] Add LabelNode case to PrintVisitor
mauricio1802 Sep 21, 2020
bd71a26
[mips] Add a visitor function collect_labels_if_func to get all label…
mauricio1802 Sep 21, 2020
af2a646
[cil] - Remove definition of default values and one fix
AntiD2ta Sep 22, 2020
1d72e15
[cil] - Fix misuse of `LoadNode` in definition of `Object::abort()`
AntiD2ta Sep 22, 2020
3df0d6b
[mips] Add case for Void value in cil.AssignNode and cil.EqualNode
mauricio1802 Sep 22, 2020
8220a06
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Sep 22, 2020
316d0ce
[mips] Add BranchOnnotEqualNode class
mauricio1802 Sep 22, 2020
683e817
[mips] Add case BranchOnNotEqualNode to visit function in PrintVisitor
mauricio1802 Sep 22, 2020
ab2bfb4
[mips] Add case cil.GotoIfNode to visit function in cil_to_mips visitor
mauricio1802 Sep 22, 2020
52e6cdf
[mips] Add JumpNode and its case to visit function in PrintVisitor
mauricio1802 Sep 22, 2020
aa433c5
[mips] Add cil.GotoNode case to visit function in cil_to_mips visitor
mauricio1802 Sep 22, 2020
d1ebc34
[mips] Add cil.TypeOfNode case to visit function in cil_to_mips visitor
mauricio1802 Sep 22, 2020
836b362
[mips] Add cil.DynamicCallNoce to visit function in cil_to_mips_visitor
mauricio1802 Sep 22, 2020
7b51a51
[mips] Add JumpRegisterAndLink node case to visit function in PrintVi…
mauricio1802 Sep 22, 2020
05cb34f
[mips] Add cil.ErrorNode case to visit function in cil_to_mips visitor
mauricio1802 Sep 22, 2020
63537c4
[mips] Fix some errors
mauricio1802 Sep 22, 2020
4b05c0c
[cil] - Fix some args given to `GetAttribNode` creation
AntiD2ta Sep 22, 2020
7155cde
[mips] Fix some errors
mauricio1802 Sep 23, 2020
43f064f
[mips] Add cil.NameNode case to visit function of cil_to_mips visitor
mauricio1802 Sep 23, 2020
f175be5
[mips] Add AddNode to Mips classes
mauricio1802 Sep 23, 2020
010106c
[mips] Add AddNode case to visit function of PrintVisitor
mauricio1802 Sep 23, 2020
712994d
[mips] Add cil.PlusNode case to visit function in cil_to_mips visitor
mauricio1802 Sep 23, 2020
7bc2f40
[mips] Add SubNode to Mips classes
mauricio1802 Sep 23, 2020
44f5ce6
[mips] Add SubNode case to visit function of PrintVisitor
mauricio1802 Sep 23, 2020
9937f2d
[mips] Add cil.MinusNode case to visit function of cil_to_mips visitor
mauricio1802 Sep 23, 2020
0ee68cc
[mips] Add MultiplyNode to Mips classes
mauricio1802 Sep 24, 2020
c4b1940
[mips] Add MultiplyNode case to visit function of PrintVisitor
mauricio1802 Sep 24, 2020
24bdbc3
[mips] Add cil.StarNode case to visit function of cil_to_mips visitor
mauricio1802 Sep 24, 2020
22a110a
[mips] Add DivideNode to Mips classes
mauricio1802 Sep 24, 2020
55615ff
[mips] Add DivideNode case to visit function of PrintVisitor
mauricio1802 Sep 24, 2020
44744e5
[mips] Add cil.DivNode case to visit function of cil_to_mips visitor
mauricio1802 Sep 24, 2020
b76eb99
[mips] Add less_equal routine to mips library
mauricio1802 Sep 24, 2020
732914e
[mips] Add cil.LessEqualNode case to visit function of cil_to_mips vi…
mauricio1802 Sep 24, 2020
8ad3d86
[mips] Add less routine to mips library
mauricio1802 Sep 24, 2020
f93f59f
[mips] Add cil.LessNode case to visit function of cil_to_mips visitor
mauricio1802 Sep 24, 2020
ff198f6
[cil] - Change `ReadNode` for `ReadStrNode` and `ReadIntNode`
AntiD2ta Sep 25, 2020
cec13e2
[mips] Add read_str routine to mips_library
mauricio1802 Sep 26, 2020
d35f58f
[mips] Add cil.ReadStrNode case to visit function in cil_to_mips visitor
mauricio1802 Sep 26, 2020
a3c15f7
[mips] Add cil.LengthNode case to visit function in cil_to_mips visitor
mauricio1802 Sep 26, 2020
718ffff
Fix some syntax errors
mauricio1802 Sep 26, 2020
4896122
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Sep 26, 2020
4c20f20
[cil] - Update visit of `AssignNode` and add `length` attr to String …
AntiD2ta Sep 26, 2020
ef231b7
[cil] - Search for node.id in params and localvars in visit of Assign…
AntiD2ta Sep 27, 2020
397bbe7
[mips] Fix some errors in mips_library
mauricio1802 Sep 27, 2020
851ca5e
[mips] Fix typo error
mauricio1802 Sep 27, 2020
72ff023
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Sep 27, 2020
0955e9a
[mips] Remove args pushed to the stack after at the end of a DynamicC…
mauricio1802 Sep 27, 2020
3da15b3
[mips] Add cil.ReadInt case to visit function of cil_to_mips visitor
mauricio1802 Sep 27, 2020
cb734e3
[mips] Add concat routine to mips_library
mauricio1802 Sep 27, 2020
125aeb4
[mips] Add cil.ConcatNode case to visit function of cil_to_mips visitor
mauricio1802 Sep 27, 2020
8f1756a
[mips] Add substr routine to mips_library
mauricio1802 Sep 27, 2020
e4eae77
[mips] Add cil.SubstringNode case to visit function of cil_to_mips vi…
mauricio1802 Sep 27, 2020
536471c
[mips] Fix typo in cil.LessNode case of visit function in cil_to_mips…
mauricio1802 Sep 27, 2020
481db87
[mips] Fix error on size to malloc in substr routine
mauricio1802 Sep 28, 2020
07d54a1
Remove code with debuggin purpose
mauricio1802 Sep 28, 2020
dbd3971
[cil] Fix String.Concat function to use value attributes in CONCAT co…
mauricio1802 Sep 28, 2020
646c06d
[cil] Fix String.Substring function to use value attribute in SUBSTR …
mauricio1802 Sep 28, 2020
2415c03
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Sep 28, 2020
807d17b
Remove the ignored code.cl
e1Ru1o Oct 1, 2020
5251d2c
[lca] - LCA is SELF_TYPE if all the types passed are SELF_TYPE
e1Ru1o Oct 1, 2020
1d0bdb5
[main] - The execution root change to /src
e1Ru1o Oct 2, 2020
b3a995b
[gitignore] - Add compiled.asm to the ignored files
e1Ru1o Oct 2, 2020
c46daa4
[Makefile] - Update the main and coolc rules
e1Ru1o Oct 2, 2020
a052e2d
[lexer] Fix lexer to recognize \n
mauricio1802 Oct 3, 2020
8ae6d80
Merge branch 'lexer' into MIPS_AST
mauricio1802 Oct 3, 2020
f458b9b
[cil] Fix value assigned to scope.ret_expr in MinusNode, StarNode and…
mauricio1802 Oct 3, 2020
4bcefc2
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Oct 3, 2020
3619c84
[mips] Add MoveFromLowNode to mips classes
mauricio1802 Oct 3, 2020
2144115
[mips] Add MoveFromLowNode case to visit function of PrintVisitor
mauricio1802 Oct 3, 2020
b5bb502
[mips] Fix cil.DivNode case to use MoveFromLowNode instead StoreWord …
mauricio1802 Oct 3, 2020
1b33890
[launcher] Change coolc.sh to use python3 explicitly
mauricio1802 Oct 3, 2020
c0907b9
[cil] - Fix value left in `scope.ret_expr` in Minus, Star, and Divide…
AntiD2ta Oct 3, 2020
b67243b
Merge remote-tracking branch 'origin/CIL_AST' into CIL_AST
AntiD2ta Oct 3, 2020
f43bdd3
[checker] - Report variable is not define only in the first occurrence
e1Ru1o Oct 3, 2020
b1d2490
Merge branch 'visitors' into MIPS_AST
e1Ru1o Oct 3, 2020
d0685bd
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Oct 4, 2020
1b6cffa
Merge remote-tracking branch 'origin/MIPS_AST' into CIL_AST
AntiD2ta Oct 4, 2020
7c7bc13
[functions] - Add helper function `get_token`
AntiD2ta Oct 4, 2020
add9ab7
[cil] - Update runtime errors messages to show row and column of the …
AntiD2ta Oct 4, 2020
762a59d
[cil] - Add Object's methods to built in types methods
AntiD2ta Oct 4, 2020
bfcfa5b
[cil] - Call init of Main in entry function instead of an Allocate
AntiD2ta Oct 4, 2020
3f2f789
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Oct 4, 2020
0ce7f86
[cil] Add __repr__ method to classes of CIL AST for debuggin purposes
mauricio1802 Oct 4, 2020
c767838
[mips] Fix copy_object snippet to convert the object size from words …
mauricio1802 Oct 4, 2020
d89e066
Merge remote-tracking branch 'origin/MIPS_AST' into CIL_AST
AntiD2ta Oct 6, 2020
fe8d371
[cil] - Change order of the methods of the built in types
AntiD2ta Oct 6, 2020
d24562a
[cil] - Remove AUTO_TYPE from type list created by `buildHierachy` me…
AntiD2ta Oct 6, 2020
2e86aa7
[cil] - Value types initialization without expressions
AntiD2ta Oct 6, 2020
fc11c31
[cil] - Add `Bool` as a CIL type
AntiD2ta Oct 6, 2020
7f28c43
[mips] Fix cil.NameNode index property of MIPSType was being called a…
mauricio1802 Oct 9, 2020
61fd420
Merge remote-tracking branch 'origin/MIPS_AST' into CIL_AST
AntiD2ta Oct 9, 2020
4b1cff2
[cil] - Finish CIL formatter
AntiD2ta Oct 9, 2020
98fa7d7
[cil] - Fix formatter of TypeOfNode
AntiD2ta Oct 10, 2020
2d0a956
[cil] - Fix visit of CaseOfNode.
AntiD2ta Oct 10, 2020
82bee46
[cil] Add __repr__ method to some types of CIL AST for debuggin purpose
mauricio1802 Oct 10, 2020
271a7a3
[mips] Add ComplementNode to mips classes
mauricio1802 Oct 10, 2020
c3e3517
[mips] Add ComplementNode case to visit function of PrintVisitor
mauricio1802 Oct 10, 2020
d0df333
[mips] Check if the source in cil.AssignNode is Void
mauricio1802 Oct 10, 2020
ae0aea5
[cil] - Add `EqualStrNode`
AntiD2ta Oct 10, 2020
644424f
[mips] Add equal_str routine to mips library
mauricio1802 Oct 10, 2020
dc998d4
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Oct 12, 2020
b6bbe46
[mips] Modify concat routine to receive the length of the new string in
mauricio1802 Oct 12, 2020
9e4b681
[mips] Fix equal_str routine to jump to when finish
mauricio1802 Oct 12, 2020
6a3b9b7
[mips] Add cil.EqualStrNode case to visit function from cil_to_mips v…
mauricio1802 Oct 12, 2020
f795ffa
[cil] Fix conversion of LessNode and LessEqualNode to compare int val…
mauricio1802 Oct 12, 2020
29e0023
[cil] Fix IfThenElseNode conversion to jump from then block to end block
mauricio1802 Oct 12, 2020
611503b
[cil][mips] Change concat conversion to use the lenght of the new str…
mauricio1802 Oct 12, 2020
7440b9b
Merge remote-tracking branch 'origin/MIPS_AST' into CIL_AST
AntiD2ta Oct 13, 2020
2a45ef6
Auto stash before merge of "CIL_AST" and "origin/MIPS_AST"
AntiD2ta Oct 13, 2020
c734d9b
[cil] Change cool.ComplementNode case to return an Int
mauricio1802 Oct 13, 2020
6672adf
[mips] Change cil.ComplementNode case to add 1 after negate bits
mauricio1802 Oct 13, 2020
7cde9f8
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Oct 13, 2020
3819eb5
[cil] - Update visit of `NotNode`
AntiD2ta Oct 13, 2020
6c83afb
[cil] - Use `value` of Bool object returned by visit of node.condition
AntiD2ta Oct 13, 2020
c15b196
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Oct 13, 2020
727af29
[cil] Use of Bool object returned by visit of node.condition in Loops
mauricio1802 Oct 13, 2020
61d777e
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Oct 13, 2020
e4e8002
[mips] Fix typo in case cil.LessEqualNode of visit function
mauricio1802 Oct 13, 2020
032dc07
[cil] Fix typo in case cool.WhileLoopNode of cool_to_cil visitor
mauricio1802 Nov 14, 2020
c473bb7
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Nov 14, 2020
bcd346c
[cil] - Use value of Bool object instead of the object itself in cond…
AntiD2ta Nov 18, 2020
26f9ae7
Merge remote-tracking branch 'origin/CIL_AST' into CIL_AST
AntiD2ta Nov 18, 2020
e814c1f
Create RegistersAllocator to assign registers to variables'
mauricio1802 Nov 18, 2020
2074c5e
Use RegisterManager in code generation
mauricio1802 Nov 19, 2020
cd65539
Change code to use new approach
mauricio1802 Nov 20, 2020
5fedff1
fix errors translating CIL code and fix error creating flow graph bet…
mauricio1802 Nov 20, 2020
cfe04c4
Merge remote-tracking branch 'matcom/entrega-final' into Rulo-testing
e1Ru1o Nov 28, 2020
45d6df2
Fix typo
mauricio1802 Nov 28, 2020
b5249c4
[smantic] - Semantic method errors changed
e1Ru1o Nov 28, 2020
6a19634
[visitors] - Saving the error instead of its message
e1Ru1o Nov 28, 2020
fa29c47
[main] - Print the type cheking errors accordingly to the new format
e1Ru1o Nov 28, 2020
976a5d3
Merge branch 'fix_error_messages' into Rulo-testing
e1Ru1o Nov 28, 2020
0a46e2a
Add regex case to lexer for newlines in strings state
mauricio1802 Nov 29, 2020
0307258
Fix interference_compute static method for add all keys to the dict b…
mauricio1802 Nov 29, 2020
7987825
Merge branch 'lexer' into MIPS_AST
mauricio1802 Nov 29, 2020
d9f04e8
[cool-to-cil][semantic] - Change exception SemanticError exception ca…
e1Ru1o Nov 29, 2020
524758d
[collector] - Change the cyclic heritage error to follow the new conv…
e1Ru1o Nov 29, 2020
9557291
[visitor] - Change a forgotten SemanticError to TypeError
e1Ru1o Nov 29, 2020
eee46a7
[visitor] - Fix an old typo error
e1Ru1o Nov 29, 2020
fa5efda
[visitors] - Avoid using self keyword
e1Ru1o Nov 29, 2020
e69f286
[builder] - Avoid redefined method parameter names
e1Ru1o Nov 29, 2020
88a1a70
[checker] - Allow let variable name re-usability in the same expresion
e1Ru1o Nov 29, 2020
26eaebb
Merge branch 'Rulo-testing' into fix_error_messages
e1Ru1o Nov 29, 2020
d7a1ab6
[makefile] - Change the deafult rule
e1Ru1o Nov 29, 2020
f6d35e2
Merge remote-tracking branch 'origin/lexer' into fix_error_messages
e1Ru1o Nov 29, 2020
e7130c3
Merge remote-tracking branch 'origin/MIPS_AST' into fix_error_messages
e1Ru1o Nov 29, 2020
6a89bc8
[cil] - Add support for generate the code of parent's attrs
AntiD2ta Nov 29, 2020
3ceb12d
Merge remote-tracking branch 'origin/fix_error_messages' into CIL_AST
AntiD2ta Nov 29, 2020
c1b89d2
[cil] - Fix typo in init generation of IO type
AntiD2ta Nov 29, 2020
b3f1487
[cil] - Fix a typo
AntiD2ta Nov 29, 2020
dec266c
[cil] - Don't call init_attr if parent is IO
AntiD2ta Nov 29, 2020
4663fd4
Assign registers only if there are instructions in the function
mauricio1802 Nov 29, 2020
8855520
Change output file name to use the same name of the input file
mauricio1802 Nov 29, 2020
e66e743
[cil] - Update generation of `init_attr` method
AntiD2ta Nov 29, 2020
d7bea0f
[cil] - Update visit of AttrDeclarationNode
AntiD2ta Nov 29, 2020
e7c99ab
[cil] - Fix some calls to cil.EqualNode
AntiD2ta Nov 29, 2020
5134fd5
Add default value to Strign type
mauricio1802 Nov 29, 2020
229cee5
Set missing values in mips_library
mauricio1802 Nov 29, 2020
e9b454d
[doc] - Grammar .tex and .pdf
e1Ru1o Nov 29, 2020
acfe6d0
Merge branch 'fix_error_messages' into visitors
e1Ru1o Nov 29, 2020
7091d30
[grammar] - Fix an error creating IsVoidNode and ComplementNode
e1Ru1o Nov 29, 2020
1a4e8be
[functions] - Add a 'symbol' token to get_token method
e1Ru1o Nov 29, 2020
420f1b7
Add case to ReturnNode for when node.value is Void
mauricio1802 Nov 29, 2020
a3a9ae7
[cil] - Create specials init and init_attr methods for types
AntiD2ta Nov 29, 2020
40a290c
Merge remote-tracking branch 'origin/visitors' into CIL_AST
AntiD2ta Nov 29, 2020
7a12f1c
Fix cool.IsVoidNode to return a Bool object
mauricio1802 Nov 29, 2020
a5096f0
[cil] - Fix bug related to params in visit of `IdNode`
AntiD2ta Nov 29, 2020
7deb1ac
[cil] - Update abort method of Object
AntiD2ta Nov 29, 2020
0901a41
Merge remote-tracking branch 'origin/MIPS_AST' into CIL_AST
AntiD2ta Nov 30, 2020
fee1b7a
[cil] - Fix naming issue
AntiD2ta Nov 30, 2020
eb6b936
[cil] - Print a newline after abort message and fix naming issue
AntiD2ta Nov 30, 2020
74a307a
[makefile] - Add `install` rule for install the project dependencies
e1Ru1o Nov 30, 2020
d1a3c49
[cmp] - Delete unused files
e1Ru1o Nov 30, 2020
6b57e1f
[report] - initial report structure
e1Ru1o Nov 30, 2020
3956b2a
[cil] - Sorting the case branches before to ensure the correct branch…
e1Ru1o Nov 30, 2020
9a75d8a
[cil] - Leave return value of case in scope.ret_expr
AntiD2ta Nov 30, 2020
7f7081f
[makefile] - Run the correct mips file in rule main
e1Ru1o Nov 30, 2020
88bb05f
[cil] - Upgrade visit of `IdNode`
AntiD2ta Nov 30, 2020
8f09e81
[cil] - Use VCALL instead of CALL in member calls
AntiD2ta Nov 30, 2020
9b6daa4
Merge remote-tracking branch 'origin/CIL_AST' into CIL_AST
AntiD2ta Nov 30, 2020
9f262b5
[structure][check] - New type_check module
e1Ru1o Dec 1, 2020
1a2ae06
[structure][mips] - New mips module
e1Ru1o Dec 1, 2020
d80babd
[structure][cil] - New cil module
e1Ru1o Dec 1, 2020
a971247
[structure][visitor] - New visitors module
e1Ru1o Dec 1, 2020
a9af9fa
[structure][lexer] - New lexer module
e1Ru1o Dec 1, 2020
8cd5a9b
[structure][cmp] - New module cmp
e1Ru1o Dec 1, 2020
40301ce
[main] - Update main imports
e1Ru1o Dec 1, 2020
f81a33e
Add Lexer and MIPS part to report
mauricio1802 Dec 1, 2020
a0834d5
Merge remote-tracking branch 'origin/structure' into CIL_AST
AntiD2ta Dec 1, 2020
36d5cca
Merge remote-tracking branch 'origin/project_report_mips' into projec…
AntiD2ta Dec 1, 2020
454667c
Auto stash before merge of "project_report" and "origin/project_repor…
AntiD2ta Dec 1, 2020
a872b73
[structure][cool] - New Module cool
e1Ru1o Dec 1, 2020
f39218a
[structure][parser] - New module parser
e1Ru1o Dec 1, 2020
64b7b6c
[structure][cmp] - Update cmp module
e1Ru1o Dec 1, 2020
476276f
[all] - All imports referring to Cool updated
e1Ru1o Dec 1, 2020
30e7921
[main] - Delete the old projects main
e1Ru1o Dec 1, 2020
a4e7899
Add JumpRegisterAndLinkNode case to UsedRegistersFinder
mauricio1802 Dec 1, 2020
dc208f6
Fix error in out_in_compute
mauricio1802 Dec 1, 2020
84dbcda
[report] - Final draft
AntiD2ta Dec 1, 2020
75ec781
Change in_out from tuples to list
mauricio1802 Dec 1, 2020
18a503b
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Dec 1, 2020
a688a37
Merge branch 'project_report' into entrega-final
AntiD2ta Dec 1, 2020
a83fed3
Merge remote-tracking branch 'origin/MIPS_AST' into entrega-final
AntiD2ta Dec 1, 2020
3fc7af8
Add zero as a valid end to read_str
mauricio1802 Dec 1, 2020
422f658
Merge branch 'entrega-final' into CIL_AST
AntiD2ta Dec 1, 2020
742534c
[cil] - Reuse variable created by id of LetAttributeNode
AntiD2ta Dec 2, 2020
56142cf
Add default value to string length
mauricio1802 Dec 2, 2020
2978c1c
Merge branch 'CIL_AST' into MIPS_AST
mauricio1802 Dec 2, 2020
1d0fea0
Remove unused code
mauricio1802 Dec 2, 2020
d4db7cb
Merge remote-tracking branch 'origin/MIPS_AST' into entrega-final
AntiD2ta Dec 2, 2020
a1dc9ae
[report] - Add report files to ./doc
AntiD2ta Dec 2, 2020
ee4bb50
Add missing cases to UsedRegisterFinder visitor
mauricio1802 Dec 2, 2020
a7a432f
Merge remote-tracking branch 'origin/MIPS_AST' into entrega-final
AntiD2ta Dec 3, 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
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2kodevs ignores
*src/compiled.asm
*src/code.cl
*src/code.s
*Stuff/

# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig

# Created by https://www.gitignore.io/api/visualstudiocode,linux,latex,python
@@ -408,3 +414,5 @@ dmypy.json

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


src/test.cl
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"python.linting.pylintEnabled": true,
"python.linting.enabled": true
}
Loading