Commit graph

13 commits

Author SHA1 Message Date
cbd6800938 Adding tests and a benchmark 2020-12-08 12:06:19 +01:00
3c4fef28c0 Known to compile with base up to 4.15 2020-09-10 15:18:04 +02:00
5a5f9b7f96 Support base as old as 4.9 2020-06-12 22:14:27 +02:00
70bcc60ed5 Fix bug in loop reporting causing in some cases the display of an inaccurate loop instead of the one actually detected 2020-05-21 18:03:12 +02:00
57e34a8002 Separate the sjw executable from a Haskell library used to write it and that can be re-used by other Haskell programs to assemble JS code directly from a Haskell program 2020-05-17 16:30:56 +02:00
f0adee46f3 Fix bug in dependency ordering due to using too naive an approach 2020-01-10 08:31:18 +01:00
bcdcec1cf2 Compiled successfully with base == 4.11 2020-01-06 11:58:17 +01:00
1e6088ab9a Allow newlines in 'import' spacing to allow nice multiline imports and avoid inelegant too long lines 2020-01-03 09:49:08 +01:00
73e7afc7e8 Explode module «Module» into several parts specialized in Imports, Environment handling and simple File parsing and compiling 2020-01-01 19:44:41 +01:00
6b254dcdeb Write a priority queue module to handle dependencies efficiently 2020-01-01 17:16:19 +01:00
e751a60f47 Forgot to enable warnings in GHC 2020-01-01 17:14:10 +01:00
12fb295610 Allow includes to be full path or mere package names 2019-12-30 13:06:54 +01:00
3ebe1040dd First draft defining the structure of the program, needs to implement «imports» and the actual compilation 2019-12-30 12:16:05 +01:00