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

Entrega Proyecto #51

Open
wants to merge 288 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
288 commits
Select commit Hold shift + click to select a range
ffae644
Add redefinition of basic class error
rmarticedeno Nov 25, 2020
2c9417c
temporal changes
rmarticedeno Nov 26, 2020
56d7ed0
Improve semantic errors
rmarticedeno Nov 26, 2020
ee2dc83
Fix Main class and main method error
rmarticedeno Nov 26, 2020
13b9df5
Type builder visitor error fixing
rmarticedeno Nov 26, 2020
8e799a8
Type Checker error fixing
rmarticedeno Nov 26, 2020
0bc060c
Type builder error fixing
rmarticedeno Nov 26, 2020
744698b
Fix type builder double exception
rmarticedeno Nov 26, 2020
a64fbf0
Improve type checker funcdeclarationnode errors
rmarticedeno Nov 26, 2020
e1effd6
Add self attribute declaration error
rmarticedeno Nov 26, 2020
9f61b83
add self as function parameter error
rmarticedeno Nov 26, 2020
edff5e0
Add self as let expression error
rmarticedeno Nov 26, 2020
f16a4b0
type collector error fixing
rmarticedeno Nov 26, 2020
08b80a5
Fix error selection order
rmarticedeno Nov 26, 2020
0e0b7dc
cil work
thenai310 Nov 26, 2020
13783f7
Improve checker visit function order
rmarticedeno Nov 26, 2020
5ba3e9d
Merge branch 'develop' into code_gen
rmarticedeno Nov 26, 2020
3c6eef5
Merge branch 'code_gen' into develop
rmarticedeno Nov 26, 2020
398a77f
Merge branch 'semantic-errors' into entrega-final
rmarticedeno Nov 26, 2020
7f6ba89
Merge branch 'entrega-final' into develop
rmarticedeno Nov 26, 2020
85197ca
Merge branch 'develop' into entrega-final
rmarticedeno Nov 26, 2020
12a840c
Merge branch 'develop' into semantic-errors
rmarticedeno Nov 26, 2020
d8a26b1
Merge branch 'entrega-final' into code_gen
rmarticedeno Nov 26, 2020
e751e5d
syntax error fixed
thenai310 Nov 26, 2020
597dfda
Merge branch 'code_gen' into develop
rmarticedeno Nov 26, 2020
0944044
Merge branch 'code_gen' into entrega-final
rmarticedeno Nov 26, 2020
2af8d3b
Merge branch 'entrega-final' into semantic-errors
rmarticedeno Nov 26, 2020
396330c
Fix function multiple times parameter
rmarticedeno Nov 26, 2020
73eb5d7
Amend last commit ;)
rmarticedeno Nov 26, 2020
fa30226
Merge branch 'semantic-errors' into code_gen
rmarticedeno Nov 26, 2020
85c474f
attribute setter and getter
thenai310 Nov 26, 2020
8154065
Cyclic heritage error fix
rmarticedeno Nov 27, 2020
eb0427b
Fix multiple times same variable declaration error
rmarticedeno Nov 27, 2020
a3f2d3a
Fix attribute declaration node line and column error
rmarticedeno Nov 27, 2020
311e7d7
CIL code generation completed
thenai310 Nov 27, 2020
0d71c31
Fix type union index out of range case
rmarticedeno Nov 27, 2020
3d7e4a9
Fix repeated branch type of case errors
rmarticedeno Nov 27, 2020
f751e6d
Merge branch 'semantic-errors' into develop
rmarticedeno Nov 27, 2020
3c360df
begin the mips visitor
thenai310 Nov 28, 2020
b64837d
mips utils
thenai310 Nov 28, 2020
efed3cc
formatter done
thenai310 Nov 28, 2020
a5f8783
mips code util MipsCode
Nov 28, 2020
f9480ce
arithmetic nodes done
thenai310 Nov 28, 2020
61f67ec
Merge remote-tracking branch 'origin/code_gen' into code_gen
Nov 28, 2020
7431e1c
Merge remote-tracking branch 'origin/code_gen' into code_gen
Nov 28, 2020
3cb643f
worked on mips visitor, some nodes not implemented
thenai310 Nov 29, 2020
ce41fc7
the mips code is written.. nodes missing
thenai310 Nov 30, 2020
fa019dc
Merge branch 'code_gen' into develop
rmarticedeno Nov 30, 2020
753d7c2
Merge branch 'develop' into code_gen
rmarticedeno Nov 30, 2020
713bc79
commit
thenai310 Nov 30, 2020
e531ffe
Merge remote-tracking branch 'origin/code_gen' into code_gen
rmarticedeno Nov 30, 2020
e86363c
string nodes done
thenai310 Nov 30, 2020
9d943be
all mips nodes done...still not test passing
thenai310 Dec 1, 2020
f857943
[grammar] try
Dec 1, 2020
56e4df0
comment fixed
thenai310 Dec 1, 2020
ad60685
Report redaction
rmarticedeno Dec 1, 2020
306b899
Merge branch 'code_gen' into develop
rmarticedeno Dec 1, 2020
9caebaf
Merge branch 'develop' into Informe
rmarticedeno Dec 1, 2020
143807f
Merge branch 'Informe' into develop
rmarticedeno Dec 1, 2020
bba66d7
[ply] grammar finalized
Dec 1, 2020
16f3786
add token implementation to commons
Dec 2, 2020
5c115a8
modifies formatter visitor to accept let whit empty bodies
Dec 2, 2020
5972af9
error handling in progress
Dec 2, 2020
85433d8
label numeration fixed
thenai310 Dec 4, 2020
29cc1d8
fix read error
rmarticedeno Dec 5, 2020
1ebe1ff
Fix double lexing error
rmarticedeno Dec 5, 2020
74a6ef5
[trable-maker] program1.cl
Dec 6, 2020
d6b7cd8
[fix] parsing errors fix
Dec 6, 2020
192f7f2
Fix empty file sysntactic error
rmarticedeno Dec 6, 2020
fc7c9f9
Merge branch 'change_to_ply' into develop
rmarticedeno Dec 6, 2020
3472202
[fix] not derivation problem
Dec 6, 2020
db94b03
Merge remote-tracking branch 'origin/change_to_ply' into change_to_ply
Dec 6, 2020
4c936f1
Merge branch 'change_to_ply' into develop
rmarticedeno Dec 6, 2020
a53a421
Merge branch 'develop' into code_gen
rmarticedeno Dec 7, 2020
7d1667b
Merge branch 'code_gen' into develop
rmarticedeno Dec 7, 2020
90c00a3
clean main file
rmarticedeno Dec 7, 2020
b74b7a0
empty args node
thenai310 Dec 7, 2020
6498c52
Merge branch 'code_gen' into develop
rmarticedeno Dec 7, 2020
b078628
start passing codegen test
thenai310 Dec 9, 2020
e7e5b21
Fix wrong semantic test
rmarticedeno Dec 11, 2020
9aad5a2
Restore error list natural order
rmarticedeno Dec 11, 2020
ba4e3d4
Merge branch 'more_semantic_errors' into develop
rmarticedeno Dec 11, 2020
1a97933
cil generator, endline problem fix
Dec 11, 2020
5e37b84
inheritance build in collector and store in context
Dec 11, 2020
108332f
latest change
thenai310 Dec 11, 2020
fa953c2
Merge branch 'develop' into code_gen
rmarticedeno Dec 11, 2020
cc7ae8c
Merge branch 'code_gen' into develop
rmarticedeno Dec 11, 2020
a78ef24
case of node good implementation
Dec 11, 2020
fa75e51
let in node good implementation
Dec 11, 2020
d2123b6
add word_size and string_max_size
rmarticedeno Dec 14, 2020
3b18edd
Add Vtable class
rmarticedeno Dec 14, 2020
292ad48
Add MemoryType class
rmarticedeno Dec 14, 2020
9d507a7
bugfixing cool_to_cil visitor
Dec 14, 2020
daf17f2
built-in types defined
thenai310 Dec 14, 2020
2a13f75
Add global descriptor class
rmarticedeno Dec 14, 2020
bad5762
add allocate vtable method
rmarticedeno Dec 14, 2020
664e2b6
add allocate vtable, fill_vtable and build_tags
rmarticedeno Dec 14, 2020
5d4f0bd
cil constructor created
Dec 14, 2020
ede230c
Merge remote-tracking branch 'origin/vtables_cil' into vtables_cil
Dec 14, 2020
ce14115
Merge branch 'vtables_cil' into develop
Dec 14, 2020
a052158
Fix cyclic inheritance missing parents
rmarticedeno Dec 14, 2020
f8a73ad
Merge branch 'develop' into Mips
rmarticedeno Dec 14, 2020
482d0b9
Merge branch 'Mips' into develop
rmarticedeno Dec 14, 2020
b2c9eb1
Fix annotations
rmarticedeno Dec 14, 2020
853a1cd
Fix newline lexing errors
rmarticedeno Dec 14, 2020
b16444b
data fixing
thenai310 Dec 14, 2020
21635a8
Merge branch 'develop' of https://github.com/dlr-team/cool-compiler-2…
thenai310 Dec 14, 2020
44faa6d
Fix Vtable initialization
rmarticedeno Dec 14, 2020
d3e80b9
Merge remote-tracking branch 'origin/develop' into develop
rmarticedeno Dec 15, 2020
0e1d228
Fix minor issues at mips generation
rmarticedeno Dec 15, 2020
3265638
Merge branch 'develop' into Mips
rmarticedeno Dec 15, 2020
2c1f98e
Improve Typeof Node
rmarticedeno Dec 15, 2020
f97a8e1
Add global descriptor getitem method
rmarticedeno Dec 15, 2020
e1fd73c
Redefine Allocate Memory
rmarticedeno Dec 15, 2020
5442d45
Add missing )
rmarticedeno Dec 15, 2020
0916d7d
Redefine Dynamic Calls
rmarticedeno Dec 15, 2020
6f23d00
Fix typo
rmarticedeno Dec 15, 2020
85b99ff
Fix Vtable allocation error
rmarticedeno Dec 15, 2020
8da56ba
Improve fill_vtable method
rmarticedeno Dec 15, 2020
13cd726
Improve GetAttributeNode Mips generation
rmarticedeno Dec 15, 2020
7623a31
Merge branch 'Mips' into develop
rmarticedeno Dec 15, 2020
b0b3181
Bug fixing changes
rmarticedeno Dec 15, 2020
1b46a29
Merge branch 'Mips' into develop
rmarticedeno Dec 15, 2020
073c43f
type work
thenai310 Dec 15, 2020
1ed1b8a
Merge branch 'develop' into Mips
rmarticedeno Dec 15, 2020
65086d0
Merge branch 'develop' of https://github.com/dlr-team/cool-compiler-2…
thenai310 Dec 15, 2020
5c3175e
fix inheritance problem
Dec 15, 2020
498fd19
Merge branch 'semantic_debugg' into develop
Dec 15, 2020
3d4d8c9
Fix load memory addressing
rmarticedeno Dec 15, 2020
60627b9
Merge branch 'develop' into Mips
rmarticedeno Dec 15, 2020
c80a6d8
Merge branch 'Mips' into develop
rmarticedeno Dec 15, 2020
e9df30c
Change vtable initialization
rmarticedeno Dec 15, 2020
200f231
Fix missing function parameters
rmarticedeno Dec 15, 2020
7983df8
Merge branch 'Mips' into develop
rmarticedeno Dec 15, 2020
7153b78
returnnode and parameter passing
thenai310 Dec 15, 2020
51ba1ef
Merge branch 'develop' of https://github.com/dlr-team/cool-compiler-2…
thenai310 Dec 15, 2020
91615df
First test passed !!!!
rmarticedeno Dec 15, 2020
7cabd84
Merge branch 'Mips' into develop
rmarticedeno Dec 15, 2020
ffae3f6
Fix main
rmarticedeno Dec 15, 2020
2c7cb89
info about cil updated
Dec 15, 2020
bee1d9f
Merge branch 'develop' into report
Dec 15, 2020
0ddd4a5
Fix new semantic errors
rmarticedeno Dec 15, 2020
08ef387
fix errors ordering in type collector
Dec 15, 2020
e4140ef
Merge branch 'develop' into report
Dec 15, 2020
7982f7b
void and boxing node
thenai310 Dec 15, 2020
ee78b25
Merge branch 'report' into develop
Dec 15, 2020
59ea8d9
Merge branch 'develop' into Mips
rmarticedeno Dec 15, 2020
63f2698
Define Setattribute node
rmarticedeno Dec 15, 2020
9a04367
Merge branch 'Mips' into develop
rmarticedeno Dec 15, 2020
b453d8b
let scope done
thenai310 Dec 15, 2020
5aa869d
2nd test written
thenai310 Dec 16, 2020
18036b2
ctors for builtins
Dec 16, 2020
d38375e
Merge branch 'develop' into Mips
rmarticedeno Dec 16, 2020
4588e10
Fix missing class index
rmarticedeno Dec 16, 2020
47da1e0
last commit
thenai310 Dec 16, 2020
5c0ea63
Merge branch 'develop' of https://github.com/dlr-team/cool-compiler-2…
thenai310 Dec 16, 2020
be2413b
Merge branch 'develop' into Mips
rmarticedeno Dec 16, 2020
44ae40a
Merge branch 'Mips' into develop
rmarticedeno Dec 16, 2020
d324b66
ctor fixed
thenai310 Dec 16, 2020
72d9578
Merge branch 'develop' into Mips
rmarticedeno Dec 16, 2020
43a164a
Revert "ctor fixed"
rmarticedeno Dec 16, 2020
a66b166
Merge branch 'develop' into Mips
rmarticedeno Dec 16, 2020
4c3fc63
Redefine Copy Node
rmarticedeno Dec 16, 2020
26818b1
ctor fix
Dec 16, 2020
a85571d
Merge remote-tracking branch 'origin/develop' into develop
Dec 16, 2020
0617a48
isvoidnode change member name mips-visitor
Dec 16, 2020
199d187
store memory the right way
thenai310 Dec 16, 2020
efd554a
Merge branch 'develop' of https://github.com/dlr-team/cool-compiler-2…
thenai310 Dec 16, 2020
aed93d9
clean args after ctor
Dec 16, 2020
558c52d
fix main entry point
Dec 16, 2020
df8eeae
eliminating excesive prints
thenai310 Dec 16, 2020
be4b3ea
fix main ctor
Dec 16, 2020
1820cd4
Merge remote-tracking branch 'origin/develop' into develop
Dec 16, 2020
8c23441
real_value passed on the string built-in methods
thenai310 Dec 17, 2020
f9da070
change cil formatter void node
Dec 17, 2020
ab7d293
Merge branch 'develop' into Mips
rmarticedeno Dec 17, 2020
c3c477b
Fix memory allocation
rmarticedeno Dec 17, 2020
2d4a269
Typenode improve
rmarticedeno Dec 17, 2020
48a59a6
Typeof improve
rmarticedeno Dec 17, 2020
30ea842
typename changed not using typeof
Dec 17, 2020
22debfb
Merge branch 'debug_lc' into develop
Dec 17, 2020
fef4b0e
Merge branch 'develop' into Mips
rmarticedeno Dec 17, 2020
6a56cd8
Fix typename node
rmarticedeno Dec 17, 2020
2a710a6
Merge branch 'Mips' into develop
rmarticedeno Dec 17, 2020
27c2325
fix isvoid formatter
Dec 17, 2020
6fed440
Conforms passing type error
Dec 17, 2020
19fc947
abort whitout typeof
Dec 17, 2020
78a113d
func args problem
Dec 17, 2020
80a465d
string attr passed ok
thenai310 Dec 17, 2020
e181fdc
allocating the string node... methods kinda working
thenai310 Dec 17, 2020
d4ae17f
Merge branch 'develop' into debug_develop
rmarticedeno Dec 17, 2020
8762706
Merge branch 'debug_develop' into develop
rmarticedeno Dec 17, 2020
c609e12
Merge branch 'develop' into debug_lc
rmarticedeno Dec 17, 2020
86d886b
Merge branch 'debug_lc' into develop
rmarticedeno Dec 17, 2020
e5cea6a
fixing the passed type on the function call
thenai310 Dec 17, 2020
d90e9a8
notNode implemented
thenai310 Dec 17, 2020
ae14378
Improve Read Str ( remove last /n)
rmarticedeno Dec 17, 2020
9a596c5
Merge branch 'Mips' into develop
rmarticedeno Dec 17, 2020
2d5fbb3
removing syscall
thenai310 Dec 17, 2020
fcff37d
Merge branch 'develop' into debug_develop
rmarticedeno Dec 17, 2020
dc673e4
Merge branch 'debug_develop' into develop
rmarticedeno Dec 17, 2020
72df258
substr y concat work just fine
thenai310 Dec 17, 2020
d7c8fd2
Implement conforms node
rmarticedeno Dec 17, 2020
6807a0e
Merge branch 'debug_develop' into develop
rmarticedeno Dec 17, 2020
fd13694
Merge branch 'develop' into Mips
rmarticedeno Dec 17, 2020
7782a83
Merge branch 'Mips' into develop
rmarticedeno Dec 17, 2020
8a9fff7
assignNode changed
thenai310 Dec 17, 2020
9f01d09
Fix read string error
rmarticedeno Dec 18, 2020
9a87338
Merge branch 'Mips' into develop
rmarticedeno Dec 18, 2020
775b1c5
case extend for every specific type
Dec 18, 2020
e9b1ec6
remove prints
Dec 18, 2020
bd4fba7
Merge remote-tracking branch 'origin/debug_lc' into debug_lc
Dec 18, 2020
393c2cb
Merge branch 'develop' into debug_lc
Dec 18, 2020
c212569
fix errors in arguments reverted
Dec 18, 2020
a628df6
Merge branch 'debug_lc' into develop
Dec 18, 2020
90b9423
fix while return
rmarticedeno Dec 18, 2020
80eec35
Merge branch 'Mips' into develop
rmarticedeno Dec 18, 2020
6bc7873
fix typo
rmarticedeno Dec 18, 2020
85200b7
Merge branch 'Mips' into develop
rmarticedeno Dec 18, 2020
3122e8d
Fix conforms node
rmarticedeno Dec 18, 2020
9e847af
Fix case action expression node
rmarticedeno Dec 18, 2020
7454e41
Merge branch 'Mips' into develop
rmarticedeno Dec 18, 2020
34db285
Fix reversed member args
rmarticedeno Dec 18, 2020
cd8b1aa
Merge branch 'Mips' into develop
rmarticedeno Dec 18, 2020
374e9cc
initialize variables in empty let declarations
thenai310 Dec 18, 2020
7a0c9d7
Merge branch 'develop' into debug_develop
rmarticedeno Dec 18, 2020
b57daf2
visiting done properly
thenai310 Dec 18, 2020
2432c2d
Merge branch 'debug_develop' into develop
rmarticedeno Dec 18, 2020
677c287
empty let declaration fixed
thenai310 Dec 18, 2020
eaaedea
Merge branch 'develop' into debug_develop
rmarticedeno Dec 18, 2020
2523553
Merge branch 'debug_develop' into develop
rmarticedeno Dec 18, 2020
f32b888
Revert member call argument order
rmarticedeno Dec 18, 2020
1e391a8
Fix member call and function call argument error
rmarticedeno Dec 18, 2020
6047ef0
Merge branch 'Mips' into develop
rmarticedeno Dec 18, 2020
7b80245
fix extend case lists
Dec 18, 2020
93ad85c
Merge branch 'develop' into debug_lc
Dec 18, 2020
667ca48
Merge branch 'debug_lc' into develop
Dec 18, 2020
cc2d740
fixing the complement Node
thenai310 Dec 18, 2020
e4d12f3
Merge branch 'debug_develop' into develop
rmarticedeno Dec 18, 2020
deaa080
danis changes
rmarticedeno Dec 18, 2020
f8df1ca
case actions ordering explanation
Dec 19, 2020
97763e9
Merge branch 'dani_report' into report
rmarticedeno Dec 19, 2020
f408b66
Add memory and vtable description
rmarticedeno Dec 19, 2020
f654a68
Fix typo
rmarticedeno Dec 19, 2020
11f09df
Improve report
rmarticedeno Dec 19, 2020
309a725
Fix grammatical errors
rmarticedeno Dec 19, 2020
3fac400
Upload PDF
rmarticedeno Dec 19, 2020
95ae1fd
Strange pdf issue fix
rmarticedeno Dec 20, 2020
bfa98f2
Merge branch 'report' into develop
rmarticedeno Dec 20, 2020
7b132d4
grammar details
Dec 21, 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: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,10 @@ dmypy.json

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.vscode/settings.json
.vscode/tasks.json
.vscode/launch.json
.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files
Expand Down
Binary file added Informe/informe.pdf
Binary file not shown.
309 changes: 309 additions & 0 deletions Informe/informe.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
%
% File: Macros for Journal of Machine Learning Research
% Very minor modification of macros for Journal of Artificial
% Intelligence Research (jair.sty)
% Last edited October 9, 2000 by Leslie Pack Kaelbling
% Last edited January 23, 2001 by Alex J. Smola (we should set up RCS or CVS)
% Last edited March 29, 2004 Erik G. Learned-Miller
% The name of this file should follow the article document
% type, e.g. \documentstyle[jmlr]{article}

% Copied and edited from similar file for Machine Learning Journal.
% Original Author: Jeff Schlimmer
% Edited by: Kevin Thompson, Martha Del Alto, Helen Stewart, Steve Minton \& Pandu Nayak.
% Last edited: Mon May 3 20:40:00 1993 by kthompso (Kevin Thompson) on muir

\typeout{Document Style `informe' -- Febrero 2013.}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REQUIRED PACKAGES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage[spanish,english]{babel}
\RequirePackage{epsfig}
\RequirePackage{amssymb}
\RequirePackage{graphicx}
\RequirePackage[margin=1in]{geometry}
\RequirePackage[utf8]{inputenc}
%\RequirePackage[stable]{footmisc}

\bibliographystyle{plain}
\renewcommand\shorthandsspanish{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% P A G E S I Z E
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Change the overall width of the page. If these parameters are
% changed, they will require corresponding changes in the
% maketitle section.
%

\geometry{margin=2cm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% S E C T I O N S
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Definitions for nicer (?) sections, etc., ideas from Pat Langley.
% Numbering for sections, etc. is taken care of automatically.

\def\@startsiction#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
\par \@tempskipa #4\relax
\@afterindenttrue
\ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
\if@nobreak \everypar{}\else
\addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar
{\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sict{#1}{#2}{#3}{#4}{#5}{#6}}}}

\def\@sict#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
\def\@svsec{}\else
\refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname}\fi
\@tempskipa #5\relax
\ifdim \@tempskipa>\z@
\begingroup #6\relax
\@hangfrom{\hskip #3\relax\@svsec.\hskip 0.1em}
{\interlinepenalty \@M #8\par}
\endgroup
\csname #1mark\endcsname{#7}\addcontentsline
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
\protect\numberline{\csname the#1\endcsname}\fi
#7}\else
\def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
{#7}\addcontentsline
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
\protect\numberline{\csname the#1\endcsname}\fi
#7}}\fi
\@xsect{#5}}

\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
\def\@svsec{}\else
\refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 0.5em }\fi
\@tempskipa #5\relax
\ifdim \@tempskipa>\z@
\begingroup #6\relax
\@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}
\endgroup
\csname #1mark\endcsname{#7}\addcontentsline
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
\protect\numberline{\csname the#1\endcsname}\fi
#7}\else
\def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
{#7}\addcontentsline
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
\protect\numberline{\csname the#1\endcsname}\fi
#7}}\fi
\@xsect{#5}}

\def\thesection {\arabic{section}}
\def\thesubsection {\thesection.\arabic{subsection}}
\def\section{\@startsiction{section}{1}{\z@}{-0.24in}{0.10in}
{\large\bf\raggedright}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-0.20in}{0.08in}
{\normalsize\bf\raggedright}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-0.18in}{0.08in}
{\normalsize\sc\raggedright}}
\def\paragraph{\@startsiction{paragraph}{4}{\z@}{1.5ex plus
0.5ex minus .2ex}{-1em}{\normalsize\bf}}
\def\subparagraph{\@startsiction{subparagraph}{5}{\z@}{1.5ex plus
0.5ex minus .2ex}{-1em}{\normalsize\bf}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% F O O T N O T E S
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Change the size of the footnote rule
%
% \renewcommand{\footnoterule}{\vspace{10pt}\hrule width 0mm}

\long\def\@makefntext#1{\@setpar{\@@par\@tempdima \hsize
\advance\@tempdima-15pt\parshape \@ne 15pt \@tempdima}\par
\parindent 2em\noindent \hbox to \z@{\hss{\@thefnmark}. \hfil}#1}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% A B S T R A C T
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% use \begin{abstract} .. \end{abstract} for abstracts.
\renewenvironment{abstract}
{\centerline{\large\bf Resumen}\vspace{0.7ex}%
\bgroup\leftskip 20pt\rightskip 20pt\small\noindent}%
{\par\egroup\vskip 0.25ex}

\newenvironment{enabstract}
{\centerline{\large\bf \\Abstract}\vspace{0.7ex}%
\bgroup\leftskip 20pt\rightskip 20pt\small\noindent}%
{\par\egroup\vskip 0.25ex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% KEYWORDS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% use \begin{keywords} .. \end{keywords} for keywordss.
\newenvironment{keywords}
{\bgroup\leftskip 20pt\rightskip 20pt \small\noindent{\bf \\Palabras Clave:} }%
{\par\egroup\vskip 0.25ex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TEMAS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Use \begin{topics} .. \end{topics} para los temas.
\newenvironment{topics}
{\bgroup\leftskip 20pt\rightskip 20pt \small\noindent{\bf Tema:} }%
{\par\egroup\vskip 0.25ex}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FIRST PAGE, TITLE, AUTHOR
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Author information can be set in various styles:
% For several authors from the same institution:
% \author{Author 1 \and ... \and Author n \\
% \addr{Address line} \\ ... \\ \addr{Address line}}
% if the names do not fit well on one line use
% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
% To start a seperate ``row'' of authors use \AND, as in
% \author{Author 1 \\ \addr{Address line} \\ ... \\ \addr{Address line}
% \AND
% Author 2 \\ \addr{Address line} \\ ... \\ \addr{Address line} \And
% Author 3 \\ \addr{Address line} \\ ... \\ \addr{Address line}}

% Title stuff, borrowed in part from aaai92.sty

\newlength\aftertitskip \newlength\beforetitskip
\newlength\interauthorskip \newlength\aftermaketitskip

%% Changeable parameters.
\setlength\aftertitskip{0.1in plus 0.2in minus 0.2in}
\setlength\beforetitskip{0.05in plus 0.08in minus 0.08in}
\setlength\interauthorskip{0.08in plus 0.1in minus 0.1in}
\setlength\aftermaketitskip{0.3in plus 0.1in minus 0.1in}

%% overall definition of maketitle, @maketitle does the real work
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}
\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
\@maketitle \@thanks
\endgroup
\setcounter{footnote}{0}
\let\maketitle\relax \let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}

\def\@startauthor{\noindent \normalsize\bf}
\def\@endauthor{}
\def\@starttutors{\noindent \small {\bf Tutor(es):~}}
\def\@endtutors{\normalsize}
\def\@maketitle{\vbox{\hsize\textwidth
\linewidth\hsize \vskip \beforetitskip
{\begin{center} \Large\bf \@title \par \end{center}} \vskip \aftertitskip
{\def\and{\unskip\enspace{\rm y}\enspace}%
\def\addr{\small\it}%
\def\email{\hfill\small\sc}%
\def\name{\normalsize\bf}%
\def\AND{\@endauthor\rm\hss \vskip \interauthorskip \@startauthor}
\@startauthor \@author \@endauthor}

\vskip \aftermaketitskip
\noindent \@starttutors \@tutors \@endtutors
\vskip \aftermaketitskip
}}

\newcommand\kernelmachines{(for {\sc{http://www.kernel-machines.org}})}
\def\tutors#1{\gdef\@tutors{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%% Pagestyle
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Defines the pagestyle for the title page.
%% Usage: \jcematcomheading{2009}{1-15}{Mat y Com}{Jane Q. Public and A. U. Thor}
%% \jcematcomheading{year}{pages}{Tribunal}{authors}

\def\firstpageno#1{\setcounter{page}{#1}}

\def\jcematcomheading#1#2#3{\def\ps@jmlrtps{\let\@mkboth\@gobbletwo%
\def\@oddhead{\scriptsize Compilación MatCom #1 %
\hfill Páginas #2}%
\def\@oddfoot{\scriptsize \copyright #1 #3. \hfill}%
\def\@evenhead{}\def\@evenfoot{}}%
\thispagestyle{jmlrtps}}

%% Defines the pagestyle for the rest of the pages
%% Usage: \ShortHeadings{Minimizing Conflicts}{Minton et al}
%% \ShortHeadings{short title}{short authors}

\def\ShortHeadings#1#2{\def\ps@jmlrps{\let\@mkboth\@gobbletwo%
\def\@oddhead{\hfill {\small\sc #1} \hfill}%
\def\@oddfoot{\hfill \small\rm \thepage \hfill}%
\def\@evenhead{\hfill {\small\sc #2} \hfill}%
\def\@evenfoot{\hfill \small\rm \thepage \hfill}}%
\pagestyle{jmlrps}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MISCELLANY
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Define macros for figure captions and table titles

% Figurecaption prints the caption title flush left.
% \def\figurecaption#1#2{\noindent\hangindent 42pt
% \hbox to 36pt {\sl #1 \hfil}
% \ignorespaces #2}
% \def\figurecaption#1#2{\noindent\hangindent 46pt
% \hbox to 41pt {\small\sl #1 \hfil}
% \ignorespaces {\small #2}}
\def\figurecaption#1#2{\noindent\hangindent 40pt
\hbox to 36pt {\small\sl #1 \hfil}
\ignorespaces {\small #2}}
% Figurecenter prints the caption title centered.
\def\figurecenter#1#2{\centerline{{\sl #1} #2}}
\def\figurecenter#1#2{\centerline{{\small\sl #1} {\small #2}}}

%
% Allow ``hanging indents'' in long captions
%
\long\def\@makecaption#1#2{
\vskip 10pt
\setbox\@tempboxa\hbox{#1: #2}
\ifdim \wd\@tempboxa >\hsize % IF longer than one line:
\begin{list}{#1:}{
\settowidth{\labelwidth}{#1:}
\setlength{\leftmargin}{\labelwidth}
\addtolength{\leftmargin}{\labelsep}
}\item #2 \end{list}\par % Output in quote mode
\else % ELSE center.
\hbox to\hsize{\hfil\box\@tempboxa\hfil}
\fi}


% Define strut macros for skipping spaces above and below text in a
% tabular environment.
\def\abovestrut#1{\rule[0in]{0in}{#1}\ignorespaces}
\def\belowstrut#1{\rule[-#1]{0in}{#1}\ignorespaces}

% Acknowledgments
\long\def\acks#1{\vskip 0.3in\noindent{\large\bf Agradecimientos}\vskip 0.2in
\noindent #1}

% Research Note
\long\def\researchnote#1{\noindent {\LARGE\it Research Note} #1}

\renewcommand{\appendix}{\par
\setcounter{section}{0}
\setcounter{subsection}{0}
\def\thesection{\Alph{section}}
\def\section{\@ifnextchar*{\@startsiction{section}{1}{\z@}{-0.24in}{0.10in}%
{\large\bf\raggedright}}%
{\@startsiction{section}{1}{\z@}{-0.24in}{0.10in}
{\large\bf\raggedright Appendix\ }}}}




Loading