Commit graph

19 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
ad8b878fd7 Add usage explanations 2020-05-17 17:09:15 +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
9bc9b728b7 Release v0.1.0 2020-01-01 20:01:17 +01:00
358ef75773 Fix indentation typo 2020-01-01 19:46:32 +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
f3c43c79e7 Implement the imports, dependencies solving and generation of the code 2020-01-01 17:27:49 +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
e84024b605 Add a simple Fibonacci example to demonstrate three little modules 2020-01-01 17:13:43 +01:00
7cf2f84dae Take monadic type out of the Context module to wait for Module data structure to be defined and enhanced with priorities and all 2020-01-01 10:16:15 +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