lean4-htt/library/init
Leonardo de Moura 224fdc7a78 refactor(library/init/lean/ir): platform dependent IR
Motivation: in 64-bit machines, we can store boxed uint32 values as a
tagged pointer. In 32-bit machines, we need to allocated an object (like
Haskell) to store the uint32 value. So, the generated bytecode is quite
different in each platform.

This change also allow us to simplify the IR. Example: we don't need the
type `sizet` anymore.

Impact: To be able to bootstrap in both platforms,
we will have to store two versions of the generated code: 32 and 64
versions. In principle, we only need to store the 64-bit version,
and use cross-compilation to build the 32-bit version.
2018-05-10 13:15:02 -07:00
..
control chore(library/init/control/combinators): remove top-level mmap and related combinators 2018-05-09 15:49:13 -07:00
data refactor(library/init/lean/ir): platform dependent IR 2018-05-10 13:15:02 -07:00
lean refactor(library/init/lean/ir): platform dependent IR 2018-05-10 13:15:02 -07:00
meta chore(library/init/control/combinators): remove top-level mmap and related combinators 2018-05-09 15:49:13 -07:00
coe.lean chore(library/init): remove prod micro module 2018-04-30 09:25:25 -07:00
core.lean feat(library/init/data/hashmap): hash function produces an uint32 instead of nat 2018-05-03 17:56:10 -07:00
default.lean chore(library/init): remove classical.lean 2018-04-30 09:25:26 -07:00
function.lean chore(library/init): remove funext and quot modules 2018-04-30 09:25:26 -07:00
init.md chore(*.md): fix/remove broken links 2016-02-23 10:11:24 -08:00
ite_simp.lean feat(library/init/ite_simp): add simp lemmas 2017-11-06 12:34:52 -08:00
platform.lean feat(library/vm): add support for system.platform.nbits in the VM 2018-05-03 15:54:54 -07:00
util.lean refactor(library): has_to_string ==> has_repr 2017-06-18 18:29:19 -07:00
version.lean.in chore(leanpkg/lean_version): recognize nightlies as releases separate from master 2018-03-20 15:14:45 -07:00
wf.lean feat(library/init): add wf_term_hack (unsound) axiom 2018-04-30 11:06:51 -07:00