Skip to content

Commit

Permalink
#86 - add precedence table
Browse files Browse the repository at this point in the history
  • Loading branch information
danilopedraza committed Feb 11, 2025
1 parent 31d242c commit 238300f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions report/report.typ
Original file line number Diff line number Diff line change
Expand Up @@ -1928,4 +1928,35 @@ Esta gramática no incluye información sobre precedencias de operadores, pero e

=== Tabla de precedencias <precedences>

Esta lista tiene todos los operadores infijos de Komodo, con su respectiva precedencia. Un operador con cierta precedencia va a ser agrupado antes que otro operador con menor precedencia.

#figure(
table(
columns: 2,
[Operador], [Precedencia],
[`:=`], [1],
[`in`], [2],
[`..`], [3],
[`||`], [4],
[`&&`], [5],
[`>`], [6],
[`>=`], [6],
[`<`], [6],
[`<=`], [6],
[`/=`], [6],
[`=`], [6],
[`^`], [7],
[`&`], [8],
[`<<`], [9],
[`>>`], [9],
[`-`], [10],
[`+`], [10],
[`/`], [11],
[`%`], [11],
[`*`], [11],
[`**`], [12],
),
caption: "Tabla de precedencias de Komodo.",
)

#bibliography("ref.bib", title: "Referencias")

0 comments on commit 238300f

Please sign in to comment.