Skip to content

Commit

Permalink
Remove latex attributes (#578)
Browse files Browse the repository at this point in the history
* remove latex attributes

* add `warnings-to-erros` to haskell targets

* Set Version: 0.1.2

* Set Version: 0.1.3

---------

Co-authored-by: devops <[email protected]>
  • Loading branch information
bbyalcinkaya and devops authored Feb 19, 2024
1 parent 253c761 commit a31accc
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ KOMPILE_LLVM := kompile --backend llvm --md-selector "$(tangle_selector)" \

KOMPILE_HASKELL := kompile --backend haskell --md-selector "$(tangle_selector)" \
$(KOMPILE_OPTS) \
$(HASKELL_KOMPILE_OPTS)
$(HASKELL_KOMPILE_OPTS) \
--warnings-to-errors

### LLVM

Expand Down
2 changes: 1 addition & 1 deletion data/list-int.k
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module LIST-INT
]
syntax ListInt ::= ".ListInt"
[ function, total, hook(LIST.unit), klabel(.ListInt),
symbol, smtlib(smt_seq_nil), latex(\dotCt{ListInt})
symbol, smtlib(smt_seq_nil)
]
syntax ListInt ::= ListItem(WrappedInt)
[ function, total, hook(LIST.element), klabel(ListIntItem),
Expand Down
2 changes: 1 addition & 1 deletion data/list-ref.k
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module LIST-REF
]
syntax ListRef ::= ".ListRef"
[ function, total, hook(LIST.unit), klabel(.ListRef),
symbol, smtlib(smt_seq_nil), latex(\dotCt{ListRef})
symbol, smtlib(smt_seq_nil)
]
syntax ListRef ::= ListItem(RefVal)
[ function, total, hook(LIST.element), klabel(ListRefItem),
Expand Down
8 changes: 3 additions & 5 deletions data/map-int-to-int.k
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ module MAP-INT-TO-INT
]
syntax MapIntToInt ::= ".MapIntToInt"
[ function, total, hook(MAP.unit),
klabel(.MapIntToInt), symbol, latex(\dotCt{MapIntToInt})
klabel(.MapIntToInt), symbol
]
syntax MapIntToInt ::= WrappedInt "Int2Int|->" WrappedInt
[ function, total, hook(MAP.element),
klabel(_Int2Int|->_), symbol,
latex({#1}\mapsto{#2}), injective
injective
]

syntax priorities _Int2Int|->_ > _MapIntToInt_ .MapIntToInt
Expand All @@ -50,9 +50,7 @@ module MAP-INT-TO-INT
klabel(_MapIntToInt[_<-undef]), symbol
]
syntax MapIntToInt ::= MapIntToInt "-Map" MapIntToInt
[ function, total, hook(MAP.difference),
latex({#1}-_{\it MapIntToIntMap}{#2})
]
[ function, total, hook(MAP.difference) ]
syntax MapIntToInt ::= updateMap(MapIntToInt, MapIntToInt)
[function, total, hook(MAP.updateAll)]

Expand Down
2 changes: 1 addition & 1 deletion data/sparse-bytes.k
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module SPARSE-BYTES
]
syntax SparseBytes ::= ".SparseBytes"
[ function, total, hook(LIST.unit), klabel(.SparseBytes),
symbol, smtlib(smt_seq_nil), latex(\dotCt{SparseBytes})
symbol, smtlib(smt_seq_nil)
]
syntax SparseBytes ::= SBChunk(SBItem)
[ function, total, hook(LIST.element), klabel(SparseBytesItem),
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.2
0.1.3
2 changes: 1 addition & 1 deletion pykwasm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pykwasm"
version = "0.1.2"
version = "0.1.3"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down

0 comments on commit a31accc

Please sign in to comment.