commit_hash
stringlengths
40
40
commit_message
stringlengths
22
1.54k
changed_files
listlengths
1
10
pre_change_chunks
stringlengths
30.3k
143k
post_change_chunks
stringlengths
35.8k
145k
relevant_chunks
listlengths
1
84
ed218b4ecc1665909cf1383548377b561679ba16
change if to case on parseTopImp (style)
[ "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#162" ]
5cc00a09eb76ecc893c3b8cc9e70000d24c4ae7c
Inject cli args in runtime and not the AST to avoid invalidating cache
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#301", "#302" ]
bce9fd2a7b4f23f411e570fa0716065da470021d
Add CLI string arguments
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#294", "#298", "#299", "#301", "#302" ]
886bf328d8a2299b070d35fa29cf0aa156545f34
Cache .so files in .build dir
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#301" ]
59ade1e7924caf874415d8447a4b61a116daf4cf
Cache the compiled C files in .build
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#294", "#301" ]
6daedfbf6a7450f9902d1586009e6eb744839fa3
Revert "Cache the compiled C files in .build" This reverts commit 8830a4951f23337147a609199525893d8981aab5.
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#294", "#301" ]
8830a4951f23337147a609199525893d8981aab5
Cache the compiled C files in .build
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#294", "#301" ]
b1c05502393bddf2b9b189345b96403a81ca40e6
show some context on this error
[ "./Inject.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#541" ]
605e06ad66b2ceeb07fbce65f82e218651a529f4
improve parse errors / import logic
[ "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#125", "#126", "#158", "#159", "#160", "#161", "#162" ]
14da2c02e08a37e48eb18235fcc3326e76f30527
show error when wrong case count
[ "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#146", "#155" ]
61473470c8b033889b1dee08fb3643f4e1a2051c
fix out of order C definitions
[ "./Compile.hs", "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#298" ]
67b4dc8795d0d7e231addebc400d181bec9a3d3e
fix import order issue
[ "./Inject.hs", "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#520", "#122", "#159", "#160" ]
c2c6d50d6107ba89f3ed0afc530df2d5e41d27bf
Revert "change time to ms instead of seconds" This reverts commit 42ae410ce3c5bfeccb95185147468c142c092e31.
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#294", "#295" ]
42ae410ce3c5bfeccb95185147468c142c092e31
change time to ms instead of seconds
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailu...
[ "#293", "#294" ]
d524ad5f4b2e70d917c3d328ec48d480380077ec
store only FID on REF terms
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Main.hs", "./Reduce.hs", "./Runtime.c", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Bits (shiftR) import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type imp...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Bits (shiftR) import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type imp...
[ "#31", "#247", "#279", "#467", "#484", "#526", "#292", "#293", "#209", "#344", "#345", "#349", "#386", "#399", "#454", "#456", "#459", "#334", "#335" ]
860bb428c30e00326b5408db1f5f6444d1b05a26
rename some fields for consistency
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs", "./Main.hs", "./Parse.hs", "./Reduce.hs", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Bits (shiftR) import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type imp...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Bits (shiftR) import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type imp...
[ "#31", "#225", "#232", "#249", "#257", "#260", "#281", "#484", "#292", "#293", "#166", "#209", "#302" ]
048c83f402846009766fc0d33afaf71aedd2a0a9
store only the cid on CTR lab field
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Bits (shiftR) import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type imp...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Bits (shiftR) import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type imp...
[ "#23", "#253", "#254", "#272", "#273", "#478" ]
bb38ab9ea4e986f936388fdaa70847900dbe472b
refactor CTR/MAT to include just the CID
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Main.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Collapse.hs #1: module HVML.Collapse where #2: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import GHC.Conc import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import qual...
./Collapse.hs #1: -- //./Type.hs// -- //./Extract.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Bits (shiftR) import Data.Char (chr, ord) import Data.IORef import Data.Word import Debug.Trace import GHC.Conc import HVML.Show import HVML.Type imp...
[ "#2", "#22", "#23", "#38", "#213", "#215", "#237", "#238", "#248", "#266", "#267", "#454", "#465", "#466", "#483", "#501", "#503", "#504", "#507", "#508", "#509", "#512", "#514", "#515", "#519", "#287", "#119", "#121", "#141", "#142", "#147", "#148", "...
7048bb6b909ac681ef00dc0306aea811ee320767
force & args to be strict
[ "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import GHC.Conc import HVML.Show import HVML....
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import GHC.Conc import HVML.Show import HVML....
[ "#99" ]
1d93eed51c5c6be5229ed2da5ff19be979b6389e
single-port lambdas! +20% MIPS on higher order tests. also moved renaming logic from extract/collapse to Show.hs
[ "./Collapse.hs", "./Extract.hs", "./Main.hs", "./Runtime.c", "./Show.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import GHC.Conc import HVML.Show import HVML....
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import GHC.Conc import HVML.Show import HVML....
[ "#37", "#38", "#393", "#394", "#395", "#396", "#397", "#398", "#399", "#400", "#401", "#402", "#403", "#197", "#198", "#353", "#354", "#355", "#356", "#357", "#358", "#374", "#76" ]
4a54bc7e81663ccddd60275eb17cc5a109aa7ba6
fast compiled mode for if-let
[ "./Compile.hs", "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#137", "#156", "#115" ]
ed2adeccc73f9ad570f6c6bc33f6a5578f7039df
fast DUP-REF and REF-SUP interactions (copy mode) now function declarations can be tagged with a '!', which will make them eligible for the copy interactions: @foo(&L{ax ay} b c ...) ----------------------- REF-SUP-COPY (when @L not in @foo) ! &L{bx by} = b ! &L{cx cy} = b ... &L{@foo(ax bx cx...
[ "./Compile.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#134", "#142", "#149", "#153", "#159", "#161", "#100", "#103", "#105", "#113", "#121", "#125", "#334", "#376", "#377", "#194", "#195" ]
1f85173881a5c7042ab609cb08e8bdbf35a7c692
top-level function strict arguments
[ "./Compile.hs", "./Inject.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#142", "#149", "#153", "#161", "#433", "#100", "#103", "#105", "#113", "#124", "#125", "#194" ]
7fe17a264becaabba3ecdf06a285bad753a4bb8a
default cases on match (desugars to if-let) HVM now has a new mode for Mat, named if-let: ~ x { #Foo{..}: main-case other: default-case } it behaves as an if-let: if the first constructor matches, return the main case applied to the fields, otherwise, return default-case applied to the original value. when ther...
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Parse.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#30", "#149", "#153", "#157", "#394", "#426", "#83", "#90", "#347", "#349", "#350", "#369", "#370", "#72", "#282" ]
8d09b1b25088eacbc3c411d1e84d81170fad3555
lazy printing of infinite structures
[ "./Extract.hs", "./Show.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#381", "#397", "#398", "#63", "#72" ]
2dc2b7d4ee4d0c1556806876e46e6e1bc3af4a6c
fix comment parsing issues
[ "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#90", "#105", "#106" ]
9a45eb451388317a4ead94d7eb7bb95b711de474
fix refactored collapser bug
[ "./Collapse.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#8", "#9" ]
4907cd757b0de633af54d03e55c6983c98c29494
dyn sup/dup syntax; auto sup/dup syntax; faster collapser; allow cloning unboxed var; rename exampels now '&' can be part of a variable name. variables that start with '&' are assumed to be unboxed (i.e., numbers, nullary constructors, era) and, as such, can be used multiple times. now we can use '&a{x y}' and '&a{x ...
[ "./Collapse.hs", "./Inject.hs", "./Parse.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#8", "#47", "#397", "#402", "#416", "#76", "#78", "#79", "#80", "#81", "#87", "#88", "#93", "#94" ]
a6c27664568fd6db122796ea1cd4d17199ffa802
dependently typed λ-term superposer
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs", "./Reduce.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import...
./Collapse.hs #1: -- //./Type.hs// #2: -- FIXME: when SUP labels have large vals, this takes a lot of time. #3: module HVML.Collapse where #4: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import Syst...
[ "#46", "#121", "#372", "#112", "#113", "#114", "#276", "#277", "#281", "#354", "#355", "#357", "#358", "#360", "#62", "#270" ]
d11a471b8d7f9f6c7ade6355af8d1883810bef43
lift dups on debug mode
[ "./Reduce.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import...
[ "#111" ]
1f1537d2dd7ab7212006af70db59110041de8184
minor optimizations and fixes
[ "./Reduce.hs", "./Runtime.c" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import...
[ "#113", "#114", "#271", "#325" ]
429d78bd728f8935e480187df67fa2a725ef346c
dynamic sup/dup primitives; inc book size to 4096
[ "./Collapse.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeI...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import...
[ "#1", "#43", "#96", "#108", "#267", "#288", "#344", "#347", "#59" ]
df757d9ac1890f0e137cc557af657940f9b418fc
incorporate interaction type theory / experimental
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Main.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeInterleaveIO) import...
./Collapse.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Show import HVML.Type import System.Exit (exitFailure) import System.IO.Unsafe (unsafeI...
[ "#14", "#33", "#40", "#41", "#124", "#132", "#314", "#319", "#139", "#143", "#144", "#146", "#153", "#154", "#69", "#92", "#95", "#102", "#237", "#266", "#284", "#287", "#288", "#290", "#291", "#292", "#293", "#294", "#297", "#298", "#45", "#160", "#16...
be6610278161dc696f2b2e42fb21ae0fab970ad2
optimizations: dup-tail-call and immediate-call now, when a case returns a dup, such as range below: @range(n xs) = ~n !xs { 0: xs p: !&0{p0 p1}=p @range(p0 #Cons{p1 xs}) } it will still detect it as a tail call also, strict calls, such as: @loop(n t) = ~n !t { 0: t p: !! t = @rots(t) @loop(p t) } ...
[ "./Compile.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as ...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as ...
[ "#97", "#118" ]
67f6e216aaa51b1e705fff34e6f35459e7774ff8
bugfix; 10 billion itr/s single-core! we can not call 'reduce()' inside the hot-path attempt, otherwise this can cause reduce to be called twice on the same term (in cases of undo), which, in turn, can cause duplicated terms in memory. by fixing this, the count.hvml test magically jumps to 10 billion MIPS (about the ...
[ "./Compile.hs", "./Runtime.c" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as ...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as ...
[ "#118", "#273", "#286" ]
43ecd229fc35d41209e7c3274bd5f423ccc6bbba
syntax updates to align with mandatory affinity
[ "./Collapse.hs", "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Main.hs", "./Parse.hs", "./Reduce.hs", "./Show.hs", "./Type.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as ...
[ "#3", "#22", "#23", "#31", "#100", "#115", "#119", "#120", "#123", "#306", "#309", "#325", "#328", "#134", "#135", "#137", "#144", "#58", "#67", "#71", "#75", "#83", "#86", "#93", "#94", "#95", "#96", "#97", "#40", "#44", "#155", "#156" ]
87f797b649cbd4233c433da9783cfbf321bae6f2
2-port dup nodes; reuse memory; enforce affinity dup nodes are now stored in two ports. before reduction, we use the first port to represent the value, and the second is just SUB. after reduction, both ports become the substitutions. we'll now reuse memory of some nodes, instead of allocating. these changes increase...
[ "./Inject.hs", "./Runtime.c" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
[ "#317", "#328", "#249", "#250", "#261", "#262", "#263", "#264", "#265", "#266", "#267", "#268", "#269", "#270", "#271", "#272", "#273", "#274", "#275", "#276", "#277", "#278", "#279", "#280", "#281", "#282", "#283", "#284", "#285", "#286", "#287", "#288"...
ceb449698df735890a1d29632aafe016aea6803e
search mode: collapse, then print first result
[ "./Main.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
[ "#133", "#134", "#136", "#143", "#144", "#145" ]
b559f6b1046c64f5cefac816bf868204a7e8d686
fix nullary ctr collapser
[ "./Collapse.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
[ "#22" ]
441c94be0568df08a78561f398cbebda3a07a9c2
collapsed erasures destroy an universe For example, the term below: @main = λt(t &0{* 2} &0{3 4}) Will collapse as just: λa ((a 2) 4) The '3' doesn't appear, because '*' occurs at the [0] path of the 0'th label, which acts like ⊥, destroying this "parallel universe".
[ "./Collapse.hs" ]
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
[ "#31" ]
6da8b428d7d00d82d50465028bd19ef43c1a4eea
HVM lazy evaluation propagates to Haskell side Now, instead of expecting a normalized term, the extract/collapse functions will call reduce layer by layer, with unsafeInterleaveIO. As a result, laziness will propagate from Haskell to HVM, in the sense that we will only compute interactions that are observable on Haske...
[ "./Collapse.hs", "./Extract.hs", "./Main.hs", "./Reduce.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
./Collapse.hs #1: -- //./Type.hs// #2: module HVML.Collapse where #3: import Control.Monad (ap, forM_) import Control.Monad.IO.Class import Data.Char (chr, ord) import Data.IORef import Data.Word import HVML.Type import HVML.Show import System.IO.Unsafe (unsafeInterleaveIO) import qualified Data.IntMap.Strict as IM imp...
[ "#256", "#257", "#258", "#259", "#260", "#261", "#262", "#94", "#103", "#54", "#57", "#140" ]
fdc66c2d5c2d02e50a7d2d24f7dd0112ce000b91
HVM3 will now collapse results with the `-C` flag Sups will be collapsed by generating multiple results. Example: @main = λt(t &0{1 2}) Will return 2 results: `λt(t 1)` and `λt(t 2)`. Dups will be collapsed by duplicating expressions. Example: @main = λf λx !&0{f0 f1}=f (f0 (f1 x)) Will return: `λf λx (f (f x))` ...
[ "./Main.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
[ "#91", "#93", "#100", "#101", "#105", "#30", "#32", "#44", "#45", "#53", "#192" ]
8b4edab03eac854e7d7c53471550c3a1e26c841d
move unord sups to another branch
[ "./Parse.hs" ]
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
[ "#28" ]
8f1749c45d7cd3cf3ce37636337d6aec791942fd
oportunistic swap fix - dont subs
[ "./Main.hs", "./Reduce.hs", "./Runtime.c" ]
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
[ "#101", "#52", "#230", "#234" ]
1f241a65469d23cee22c450f6061e2ed2e578223
fix bug on dup-swap toggle when swapping unordered dup nodes, we must check if the parent node hasn't been substituted already, to confirm it is indeed a dup the code is very messy right now and must be cleaned up
[ "./Reduce.hs", "./Runtime.c" ]
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
[ "#52", "#268" ]
49c55c59293dbf482fa4d192064c6bfb0cd13d53
unordered sups: cleaner oportunistic swap approach unordered sups and dups will now be identical to normal sups and dups, rather than dups storing only one argument. to solve the quadratic issue, we just perform oportunistic swaps: whenever we enter the aux port of an unordered dup node that is connected to another un...
[ "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
[ "#73", "#81", "#276", "#277", "#282", "#301", "#302", "#25", "#45", "#52", "#53", "#192", "#206", "#220", "#229", "#235", "#236", "#240", "#241", "#246", "#247", "#253", "#256", "#257", "#258", "#259", "#260", "#261", "#262", "#263", "#5", "#111", "#11...
f51372adb318678476f8804403813b6c298b4fdd
fix unordered superposition implementation 1. the lam rule actually needs to propagate unordered superpositions 2. we now apply the udup-contraction optimization, resulting in the quadratic speedup
[ "./Runtime.c", "./Show.hs" ]
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
./Show.hs #1: -- //./Type.hs// -- //./Inject.hs// #2: module HVML.Show where #3: import Control.Monad.State import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString ...
[ "#229", "#241", "#247", "#257", "#260", "#5" ]
54b2f12168ca10045267a84893e155f28d2e0096
implement let, seq; can express mutable refs now; par = later
[ "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString E...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString E...
[ "#74", "#82", "#246", "#24", "#44", "#53", "#176", "#203", "#234", "#110", "#116", "#167", "#168" ]
971d16b8c07ab129b4c63370563d93b24694d701
optimization / bugfix: dont call reduce on body - seq operator will be added
[ "./Compile.hs", "./Inject.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString E...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString E...
[ "#82", "#85", "#86" ]
4dc954c5fbd80bf33afc737979f9dec7e7912c80
compile operators in fast-mode
[ "./Compile.hs", "./Extract.hs", "./Runtime.c", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString E...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString E...
[ "#79", "#83", "#248", "#111" ]
1717833ba47b6bbdd9fd25447d26f925f96d2262
HVM3 compiler WIP: up to 2400m itr/s single-core
[ "./Compile.hs", "./Parse.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString Era ...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.List import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString E...
[ "#18", "#24", "#25", "#31", "#175", "#176", "#178", "#236", "#239", "#240", "#242", "#3", "#5", "#107", "#169", "#170" ]
cdf69ae72e117ac84037da1ea0d2a5e1ccdb1aaa
named constructors and fixes
[ "./Inject.hs", "./Parse.hs", "./Show.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString Era ...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString Era ...
[ "#232", "#233", "#234", "#235", "#236", "#237", "#238", "#239", "#240", "#241", "#242", "#243", "#244", "#245", "#246", "#247", "#248", "#249", "#250", "#251", "#252", "#253", "#256", "#18", "#22", "#23", "#24", "#25", "#26", "#27", "#28", "#30", "#31"...
d43999c248149af4191af5723b7aee8f0083c3f6
synchronize treatment of variables on inject and compile
[ "./Compile.hs", "./Inject.hs", "./Main.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString Era ...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = nam coreToString Era ...
[ "#52", "#231", "#234", "#237", "#243", "#244", "#245", "#76", "#140" ]
a8e705ce95cea3f94da5e5053384dfbc70d2f813
U32 numbers WIP this was mostly AI generated and is pending review
[ "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Parse.hs", "./Reduce.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = "x" ++ nam coreToString Era ...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = "x" ++ nam coreToString Era ...
[ "#48", "#186", "#192", "#21", "#117", "#119", "#158", "#160", "#161", "#162", "#163", "#166", "#168", "#169", "#173", "#71", "#73", "#74", "#78", "#115", "#116" ]
2853d07aa03b00a987ed501b7713785eca231a07
DUP/SUP labels, better parse error messages
[ "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Main.hs", "./Parse.hs", "./Runtime.c", "./Show.hs", "./Type.hs" ]
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = "x" ++ nam coreToString Era ...
./Show.hs #1: -- //./Type.hs// #2: module HVML.Show where #3: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #4: -- Core Stringification -- -------------------- #5: coreToString :: Core -> String coreToString (Var nam) = "x" ++ nam coreToString Era ...
[ "#42", "#187", "#193", "#47", "#53", "#17", "#19", "#21", "#22", "#23", "#24", "#25", "#26", "#30", "#159", "#161", "#162", "#163", "#5", "#75" ]
b9a7df8056de9294a8f2ce6fe9cae8b5ba071614
modes: run (Haskell) / run-c (C)
[ "./Compile.hs", "./Extract.hs", "./Inject.hs", "./Main.hs", "./Parse.hs", "./Show.hs", "./Type.hs" ]
./Show.hs #1: module HVML.Show where #2: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #3: -- Core Stringification -- -------------------- #4: coreToString :: Core -> String coreToString (Var nam) = nam coreToString Era = "*" coreToString (L...
./Show.hs #1: module HVML.Show where #2: import Data.Char (intToDigit) import Data.Word import HVML.Type import Numeric (showIntAtBase) #3: -- Core Stringification -- -------------------- #4: coreToString :: Core -> String coreToString (Var nam) = nam coreToString Era = "*" coreToString (L...
[ "#29", "#30", "#34", "#39", "#150", "#157", "#158", "#40", "#47", "#49", "#51", "#52", "#53", "#54", "#55", "#19", "#22", "#24", "#65", "#66", "#86" ]