mamba 0.2.0

A transpiler which translates Mamba to Python 3 files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
commit 220572e7fd3cddb90be03328ec920cec0ce14862 (HEAD -> clean-lexer)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu May 9 14:31:56 2019 +0200

    [ci skip] Always follow dedents with newline

commit 5edfa106fc1e41ce56a5de2c9345d31b4edeb2ce
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu May 9 13:41:37 2019 +0200

    Re-add rules for lexing numbers

commit f0b5227499c083f14aab9721601d7c4b2c47e311
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu May 9 13:21:13 2019 +0200

    Add preservation of comments

commit 67d2e5f856820851c1b18aab520472d9d71acfd8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu May 9 12:21:35 2019 +0200

    Update indentation rules

commit 785f31ea892971520c43d62167b73f990fa7dc9a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 8 17:40:47 2019 +0200

    Correctly reset hit token boolean after each newline

commit d6d9d3bd8e4f3d066999204d8b1d624b50dc9899
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 8 17:32:24 2019 +0200

    Add lexing of all tokens.
    
    Indentation and dedentation has been slightly broken.

commit ff685bdb7c7d6659c9fbc0d5c44b47dacfc04428
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 8 16:35:27 2019 +0200

    Add rules for parsing remaining tokens

commit 5e1db936f4cc38071c03e84bba17a4e9e1bb309e (origin/clean-lexer)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 8 13:12:30 2019 +0200

    Add lexing of additional characters
    
    I think that it is best that the tab character be unrecognized.
    4 spaces is an indentation, this should help with consistency within the
    language, similar to how Go does formatting.

commit da02937a8e2a0cf75fc97dc967cb212e0bf793d9
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 8 12:29:59 2019 +0200

    Start refactor of lexer

commit 6d4b854b1b6e469771c68a1b0c5eaca1c2635a29 (origin/master, master)
Merge: d4782a2 7c7ede8
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue May 7 14:46:48 2019 +0200

    Merge pull request #81 from JSAbrahams/todos-desugar
    
    Add panic messages and use unimplemented macro in desugar stage

commit 7c7ede8bbc789b23325e79a8857d97c6ca2c8354 (origin/todos-desugar, todos-desugar)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon May 6 16:08:48 2019 +0200

    Add tests for incorrect or desugar input that does nothing

commit 008be186081beff08e9a2f7005f1123dd09e172a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon May 6 13:58:43 2019 +0200

    Make explicit what still should be implemented in desugar stage
    
    Also make more explicit what should and shoulnd't be encountered.

commit d4782a28633c4ae740ecbdc299ad9a66641b90e4
Merge: 4dc1f6a cde51fb
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon May 6 15:44:14 2019 +0200

    Merge pull request #82 from JSAbrahams/new-handle
    
    Properly implemenent handle statement

commit 4dc1f6ac960c58f485c17f7d23bcb2d689908426
Merge: 008a606 45df794
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon May 6 14:25:07 2019 +0200

    Merge pull request #80 from JSAbrahams/better-code-examples
    
    Use factorial to showcase PositiveInt

commit cde51fb69aef0fc8a03deb2b9893101d57c40631 (origin/new-handle, new-handle)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon May 6 14:18:54 2019 +0200

    Expect newline before match cases in handle
    
    Add some test for raises and handle

commit 210eb36a232c10b557f7c261e899e401035ae0f3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon May 6 14:03:26 2019 +0200

    Remove requirement of when after handle token for handle
mat
commit 45df79410e9f486d61dc8dc83c33a9c782ed3eec
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon May 6 01:07:18 2019 +0200

    Use correct type for server example

commit 84a18841aee5a65bbfe051574d1b12137840e7fa
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon May 6 00:40:59 2019 +0200

    Use correct type names in README

commit e65027b66ae45367f1668387d6247e4910013ac9
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon May 6 00:39:09 2019 +0200

    Use factorial to showcase PositiveInt

commit 008a60618603c4150e24d327873718f05031b670
Merge: 81b507d ee6c619
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:59:59 2019 +0200

    Merge pull request #79 from JSAbrahams/code-mistakes-readme
    
    Fix some code mistakes in README

commit ee6c619bf77291cbbd5abc1cc2b93ba3b1398933
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:56:36 2019 +0200

    Fix order in DisconnectedHTTPServer in README

commit 81cfe4baf1326197d396c76731f14061cf718532
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:54:43 2019 +0200

    Fix some code mistakes in README

commit 81b507dc9571401507e720c4f319d8f0854768de
Merge: 9209320 73d8a3a
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:43:27 2019 +0200

    Merge pull request #78 from JSAbrahams/error-handling-doc
    
    Use correct assign in error doc

commit 73d8a3ae26cd436814bb5447fd3d39e0644b6f75
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:43:00 2019 +0200

    Use correct assign in error doc

commit 920932044525a456354c65ad802dfb2ca49d9eb4
Merge: e56e4a1 5af3ecc
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:41:38 2019 +0200

    Merge pull request #77 from JSAbrahams/error-handling-doc
    
    Fix grammar error in error handling section

commit 5af3ecc1d45f34d7a8266221a58f660587bbcd17
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:39:36 2019 +0200

    Use correct assign in stateful example

commit fd2c1bb779cc4f3c47538c1239ea8995e7e86abc
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:38:31 2019 +0200

    Fix grammar error in error handling section

commit e56e4a1f5b31e9625eb83883e86cab73f8ac4c4b
Merge: e6106f3 d1ee663
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:36:16 2019 +0200

    Merge pull request #76 from JSAbrahams/type-refinement-patch
    
    Add logo to type refinement section in README

commit d1ee66349b0848f0b099363d7d7891129081d813
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:29:59 2019 +0200

    Add logo to type refinement section in README

commit e6106f37108c7a0583ba8b0e9d9382702fd273ca
Merge: 71c10d2 5e8d382
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:28:41 2019 +0200

    Merge pull request #75 from JSAbrahams/readme-example
    
    Add code examples to README

commit 5e8d3821a88522ef5c35a9fd0135ab1191ea8095
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 17:03:30 2019 +0200

    Fix some grammar and spelling mistakes

commit 71c10d235ee5dc0bfab2cbd78e07031971fdaf2a
Merge: 4766388 d51c77e
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun May 5 16:58:32 2019 +0200

    Merge pull request #74 from JSAbrahams/forward
    
    Add desugaring of `foward`

commit fd644bb217cb8ae902e1ce6eccccdc4d6aa5d031 (origin/readme-example, readme-example)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun May 5 16:55:15 2019 +0200

    Add mamba code language flag
    
    Currently not recognized as a language, but someday hopefully it will be.

commit 0774cd1d7e778b314bcef34c7088bc5f35563e8d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun May 5 16:53:52 2019 +0200

    Add error handling example to README

commit b18fbeff18d2f920f1b828a82864c6a7bc764a79
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun May 5 16:08:12 2019 +0200

    Add some code examples
    
    Still need to add examples for error handling and elaborate a bit upon the type refinement example.

commit d51c77ea062dc98ff16d6c4b38c2347f78770418 (origin/forward, forward)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun May 5 13:49:53 2019 +0200

    Don't pass self to forwarded method

commit 8a3511cdabc692cda1412638a61741c186a589e0
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat May 4 16:39:55 2019 +0200

    Add test for checking desugaring forward works as expected

commit 9134d7968c69505aaa577ddafbc85de2f81e2d21
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat May 4 16:21:28 2019 +0200

    Only return block for variable def if includes forward
    
    This happens in the desugaring stage.
    If a variable definition has no forwards, there is no need for us to
    return it in a block.

commit 80172ff106fa6cbc1f1f0b71d1868f2c751c4862
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat May 4 16:08:57 2019 +0200

    Add desugaring rule for forward

commit 4766388c893397328fc4b418ba50d075fef5f3bd
Merge: c872d54 4cf03a0
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed May 1 18:37:39 2019 +0200

    Merge pull request #68 from JSAbrahams/doc-interface
    
    Add documentation to interfaces

commit 4cf03a09788a61c60d94dca0ac418779e3678fed
Merge: 2e59981 c872d54
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed May 1 16:16:33 2019 +0200

    Merge branch 'master' into doc-interface

commit c872d54bef86329349ef8f97371d57c9c99c5a13
Merge: 014726f 75074ea
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed May 1 16:15:55 2019 +0200

    Merge pull request #73 from JSAbrahams/fix-is-instance
    
    Fix isinstance typo in Python code generation

commit 014726ffb8a95aa88c3c32c7b3e19e742dd9796f
Merge: c273624 5a6aa9b
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed May 1 16:03:24 2019 +0200

    Merge pull request #72 from JSAbrahams/core-import
    
    Add ImportAs and Import to Core language

commit 2e59981ae37ddc751c4e1935cb07080ad091e6e6 (origin/doc-interface, doc-interface)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 1 16:02:36 2019 +0200

    Desugar ReturnEmpty to Return None in Core language

commit 36d7fe0c79901af00fcb2b5ecea841396191a432
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 1 15:59:24 2019 +0200

    Move macro to common in lexer

commit 39738192a35c749e8ae82d655194fc67dc60d00e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 30 16:18:37 2019 +0200

    Add documentation to lexer

commit 97d8a124dc773ed2ff85a5ee122e89e32202d254
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 30 16:06:23 2019 +0200

    Add documentation to parser

commit ffb1a0930addb37fa0f300af59ed02e1141a3707
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 30 15:53:33 2019 +0200

    Fix compile error in to_py_source documentation

commit 7c1cc101b89ebcd22c0263d785a68e887af254ef
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 30 14:43:42 2019 +0200

    Format imports in parser

commit b350fdfb830cc82e6e568d6165716477c1918f0d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 30 14:41:33 2019 +0200

    Move macro's in parser to common
    
    This reduces the clutter, especially since documentation now is now
    being added.

commit f793c81b3763a74a570986457821dfca983f88ab
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 22:11:07 2019 +0200

    Fix formatting in code and desugar docs

commit 5b0bf71da175bc0a1d2d3a5a1b01ec2fccf22715
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 21:29:46 2019 +0200

    Add documentation to `to_py_source` and `desugar`

commit 75074ea1a555c15449d92e002728c881c5df58c4 (origin/fix-is-instance, fix-is-instance)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 1 15:53:20 2019 +0200

    Fix isinstance typo in Python code generation

commit 5a6aa9b1444c6c2649a80275219d6ad5b2a5b434 (origin/core-import, core-import)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 1 15:45:58 2019 +0200

    Add ImportAs and Import to Core language

commit c2736242d69d2e02eecaedafb85ca735ea15163e (collection-comprehension)
Merge: d7fc7c4 e581c49
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed May 1 00:44:52 2019 +0200

    Merge pull request #71 from JSAbrahams/tuples-and-none
    
    Tuples and none

commit e581c49108d8a1f025d87edfe32703cb93b8fe16 (origin/tuples-and-none, tuples-and-none)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed May 1 00:16:24 2019 +0200

    Return tuple of None if assigning to tuple
    
    We use state to track whether this is the case or not.

commit 62adb00b3d1954c5678c0e3cf2d1fbfa2c69b44c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 14:22:34 2019 +0200

    Add Context and State to desugar stage
    
    This can be used to check wheter an identifier is a:
    - class
    - field/property
    - function
    
    Also add State.
    Ass opposed to Context, which is built once and then never changed,
    State can change while desugaring.
    This can be used when checking whether we're assigning to a tuple or not
    for instance.

commit 58ba38fd42f51f327466ff138fa464284dbd0c7f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 13:55:14 2019 +0200

    Move assign None rules to desugar stage
    
    Also desugar ReturnEmpty to return None.

commit 428bc678b809398646414804ae25f55f7b062555
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 23 15:16:54 2019 +0200

    Add test for python syntax checking
    
    * Assign None to variable if nothing assigned to it
    
    It is clear that desugaring and the core module should be more complex:
    * self should be added to functions in stateful classes.
    * when calling functions of self, they should be explicitly called on
    self (it might be an idea to add this to the language).

commit d7fc7c4e422f1f861928aab423b50a78d3f52e64
Merge: 69e7d4f c9da903
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed May 1 00:03:18 2019 +0200

    Merge pull request #70 from JSAbrahams/test-config
    
    Allow dead code in common core of test package

commit c9da9033d2afa55ad56febec66c096da0050bd74 (origin/test-config, test-config)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 30 16:24:53 2019 +0200

    Allow dead code in common core of test package
    
    We no longer get useless compile messages, as these utility functions
    were actually used.

commit 69e7d4f95022d1568c841990d88b14aa1a1db4e8
Merge: 2c92365 abd1944
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Apr 30 14:20:06 2019 +0200

    Merge pull request #69 from JSAbrahams/better-enum
    
    Simplify ENum

commit abd19449d8c0e366243a676cd3411d35c0c86363 (origin/better-enum, better-enum)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Apr 29 11:40:20 2019 +0200

    Use standard power operator of Python for Enum
    
    It might be overdoing it to define a custom class for this.

commit 2c923654c9fc141930278b05888c303dc42ad5c6
Merge: 27ffa76 0414880
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Apr 29 11:05:40 2019 +0200

    Merge pull request #61 from JSAbrahams/test-python
    
    Test mamba class to python class

commit 04148807b069a8544364037736d6ca1ea7ef22bd (origin/test-python, test-python)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Apr 29 10:46:01 2019 +0200

    Make PYTHON argument a static value
    
    Its value depends on the operating system.

commit 3e690c2c2243bbbf54ff7a4c016028c54f63cf12
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 22:10:02 2019 +0200

    Make empty definitions desugar to assigning None

commit d69b77e9e59af4b9de975ce1ecc029d40047a6bf
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 22:01:48 2019 +0200

    Use correct python command based on OS

commit ae2c4926e8437f6baaf9fa27ba6e4607569da8e3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 13:04:57 2019 +0200

    Add command to install Python 3

commit 3a26d71304f4d19ad937f560fd74f8959ca5cfc2
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 20:01:48 2019 +0200

    Add Python to travis config

commit 87b7d7880e8ebbdb3df9c117b58c2a4290ac5c76
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 19:43:48 2019 +0200

    Remove unnecessary check that tuple Python file exists
    
    If an error occurred it should have been caught

commit d5d7c4c31bc8007328a15d4faebe8e01481e93cc
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 15:33:43 2019 +0200

    Remove Python from travis

commit ffae18c8598f809497e1c9652f33858709686474
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 15:19:07 2019 +0200

    Update travis config for multiple languages

commit 6d756effb2db7eb59d6e526c1004ee8b46b23d8d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 15:12:03 2019 +0200

    Update appveyor and travis configs
    
    Add for testing tuples which we needn't ignore.

commit 2ecc700c7d5c40e990f83ae7c01121aa2cbf307c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Apr 25 14:26:02 2019 +0200

    Remove defaults from functions
    
    This was just confusing and only has very specific use-cases.

commit e7a54ebfc2bd87bac5e3ac1c2952cb0d9d70a253
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Apr 25 11:48:41 2019 +0200

    Ignore python test
    
    We still need to add some more complex desugaring rules before this
    class becomes valid Python code.

commit 91ca95e87659a40d2a5b54d0f085c6190c52c977
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Apr 24 13:14:35 2019 +0200

    Don't make constants fun args when parsing

commit 7a17b0d15982fd5c46aecda701ae48c9d4c6ff5c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Apr 23 15:16:54 2019 +0200

    Add test for python syntax checking
    
    * Assign None to variable if nothing assigned to it
    
    It is clear that desugaring and the core module should be more complex:
    * self should be added to functions in stateful classes.
    * when calling functions of self, they should be explicitly called on
    self (it might be an idea to add this to the language).

commit 27ffa76f35a5346b1a7bd3e4d65ea1aab3c1b50e
Merge: e612251 fdc9c89
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Apr 28 21:36:31 2019 +0200

    Merge pull request #67 from JSAbrahams/cleaner-tests
    
    Check result from test resource access

commit fdc9c89e0a693ac8fa180bf11f898c860ec5db56 (origin/cleaner-tests, cleaner-tests)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 20:25:52 2019 +0200

    Remove redundant assert_eq macro invocations

commit 796d5ca58e651026d9d0a618d76e5c47ec24359f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 16:50:14 2019 +0200

    Return Result in test instead of using assert_ok macro
    
    Implement Termination for ParseResult

commit eac8f369b113e032e947bc061abea72fc4c7b7ce
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 15:25:18 2019 +0200

    Use Result in tests
    
    This should somewhat improve error reporting.

commit e61225160c793c2c9d1021322b28989f1bc5ab58
Merge: 1cdd755 cc153df
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Apr 28 14:48:52 2019 +0200

    Merge pull request #65 from JSAbrahams/types
    
    Create Type enum

commit cc153dfa89752b02480b5bee1c9ffbfd6f5cfe14 (origin/types, types)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Apr 28 13:27:33 2019 +0200

    Create Type enum
    
    This will not only come handy in the type checker but also during the
    desugar stage.
    For instance, when we assign to a value, we need to know whether it is
    a tuple or not.
    Instead of creating another custom alias in the desugarer, it is
    probably better to re-use the types from the type checker (which is
    still to be written).

commit 1cdd7558b87f34cd77d3e21072b6be94e84054aa
Merge: 3bf1eba 2bf43f5
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Apr 28 12:54:53 2019 +0200

    Merge pull request #62 from JSAbrahams/fix-tokens
    
    Improve Display for Token

commit 2bf43f566820905790454797971a872ec988944d
Merge: 93bff34 3bf1eba
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Apr 26 19:59:04 2019 +0200

    Merge branch 'master' into fix-tokens

commit 93bff341803bc2152a4451ec8b8af94c4b4030e0 (origin/fix-tokens)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 19:55:44 2019 +0200

    Use update from rust format

commit 3bf1ebade62a47883915bc161a6027e66575e48a
Merge: ea4d805 cd5d6c2
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Apr 26 19:26:43 2019 +0200

    Merge pull request #60 from JSAbrahams/new-grammar
    
    Move mutable field from VarDef to IdType

commit 5dc107345a1df9b785c03010a14008403f0c0d87
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 14:38:10 2019 +0200

    Use String::from instead of to_string in Display for Token

commit 247caa4416fe35520c53c4dcedae9e666e4811b3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 14:17:38 2019 +0200

    Remove unused tokens
    
    Add TODO for removing useall token once parsing imports has been
    implemented.

commit cd5d6c27fafb965af06e54587e789be6c8a13c40
Merge: 6c6741d ea4d805
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Apr 26 19:05:59 2019 +0200

    Merge branch 'master' into new-grammar

commit ea4d8055b238841a33bff2ce8aa33fe636a759ff
Merge: 027416b 40f151e
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Apr 26 19:05:47 2019 +0200

    Merge pull request #59 from JSAbrahams/imports
    
    Add parsing, desugaring and core constructs for imports

commit 40f151ef7ce6059fc6d28e25a2f77adb2e45d050 (origin/imports, imports)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 18:57:09 2019 +0200

    Add tests for imports

commit 23c8329bf72fbaa3e61e015967d40bf8f408b4be
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 17:39:51 2019 +0200

    Fix file path for kcov

commit 61da077cce0121e5499a534db0c90017bf1ff0a7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Apr 26 14:56:27 2019 +0200

    Remove verify flag for kcov from travis config

commit 6c6741d29bb9586c972b56b9c3bcc2361a6d59dc (origin/new-grammar, new-grammar)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Apr 25 11:21:38 2019 +0200

    Move mutable field from VarDef to IdType
    
    This reflects the change in the grammar.
    A variable definition does not contain any information about the
    mutability of the definition.
    This is now stored in the id alongside type information.

commit 22147e419e959f4f626f46b5ddd0c9d3440c909d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Apr 22 12:45:29 2019 +0200

    Desugar imports and add Core constructs for imports

commit c08aaebc37a575db046375ea78d85fff6e32c64c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Apr 22 12:27:11 2019 +0200

    Add parsing imports

commit c028312c2a15a9e9a7b9d1243de9f28db63c359f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Apr 22 11:40:57 2019 +0200

    Add tests for parsing imports

commit 027416ba89ea42e8636b69c48045ec3c63858106 (mut-fun-args)
Merge: 1daf45d 0a11e2f
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 27 13:29:12 2019 +0100

    Merge pull request #58 from JSAbrahams/test-desugarer
    
    Test desugar stage

commit 0a11e2f24355bb23c01a8219e982d5ffed330a34
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 27 13:22:38 2019 +0100

    Remove TODO in desugar stage
    
    We now do something with default.

commit a6b01c7248766bb0501b359801afb3089d14d78d (origin/test-desugarer, test-desugarer)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 27 12:29:21 2019 +0100

    Add default to FunArg in core language
    
    Add test for added behaviour.

commit 6087ea9e315fcb27ba518c46fd99485cc59570d4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 27 12:00:45 2019 +0100

    Add tests for desugar definitions
    
    Change behaviour of desugar definition with no body. It is now still
    a Core VarDef instead of being desugared to an Id, which can be
    confusing and also throws away information regarding it's private field.

commit 1daf45de700a215875e6f2cb35faed055d380dd3
Merge: 9d52cb8 45e6240
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Mar 26 16:48:53 2019 +0100

    Merge pull request #56 from JSAbrahams/better-tuples
    
    Expression wrapped in braces is no longer a tuple

commit 406dbe1894996031a518c62884b5a90846da39b7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 26 16:26:35 2019 +0100

    Add tests for desugaring control flow
    
    Fix some inconsistencies in naming of variables.

commit 640c577ddb1324b672395b287d42d61e70b4b4ac
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 26 15:14:35 2019 +0100

    Split up desugar stage
    
    - Add `is not` to core language

commit 55c1032840c0728edc07c9823584e4d73f067247
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Mar 25 18:39:30 2019 +0100

    Fix failing set_verify test
    
    It didn't compile, whoops.

commit f6e5d5716476f527376b81a5369901bb63c90bd1
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Mar 25 18:28:52 2019 +0100

    Remove empty test classes
    
    Will write these in future.

commit 419ddf32f13c3e0869976595d68e9f7cab0face3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Mar 25 18:27:07 2019 +0100

    Add tests for desugar collections
    
    Add Init Node, and the accompanying desugar rules

commit 99da683257f665e4fdddabbe118acbac5b83de71
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Mar 25 18:07:49 2019 +0100

    Test desugar simple statements

commit 471e32ee19ed40d87dd9d70ef420e8444fbf4459
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Mar 25 17:46:13 2019 +0100

    Test desugar of all built-in operations

commit 9d52cb826b3a70f3c1ac6ba3a596176be0d99c76
Merge: 9242519 ea34185
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 24 23:08:09 2019 +0100

    Merge pull request #57 from JSAbrahams/better-travis-link
    
    Make travis badge link to all travis badges

commit ea34185425aa00ea5323d6fa5dff5f4fb142d572
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 24 22:48:12 2019 +0100

    Make travis badge link to all travis badges
    
    Currently, if you click on it you go to the most recent build.
    This can be of any PR, so it might be a failing build even if master doesn't fail.
    This is confusing because if the master build passes, you don't expect to be confronted with a failing build when you click on the badge.

commit 45e62409d1561fd1442bd89a6ec1db7b8d081831 (origin/better-tuples, better-tuples)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Mar 24 22:23:20 2019 +0100

    Expression wrapped in braces is no longer a tuple
    
    A tuple has either 0, 2, or more elements.
    A tuple with only 1 element is now no longer a tuple but an expression
    wrapped in braces.

commit 9242519adadeb25c625328d5b99ab8785c8ee6b7
Merge: b0a7095 b1f2bf2
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 24 15:29:20 2019 +0100

    Merge pull request #52 from JSAbrahams/test-parse-definition
    
    Test parsing definitions

commit b0a70950f39ad8c1e5964d9cca9f2b0098137a72
Merge: 1985471 14c7d6d
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 24 15:23:14 2019 +0100

    Merge pull request #54 from JSAbrahams/pretty-readme-1
    
    Remove breakline between badges

commit 14c7d6d861f4e2595ca81aa8f01ad9ce23ddd66d
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 24 15:17:06 2019 +0100

    Remove breakline between badges

commit b1f2bf21bc5621ff8716430a8adf4b276fc5e2b1 (origin/test-parse-definition, test-parse-definition)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Mar 24 15:13:10 2019 +0100

    Add tests for function definitions

commit e78e1e8e1a2f1a7837f88d9ef8184a2ca943f036
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Mar 24 14:08:30 2019 +0100

    Ignore tests for now

commit 29b5841a144025e2abd8ca1cfcf85e50ce3345bd
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Mar 24 13:33:53 2019 +0100

    Add test for invalid definitions
    
    Ensure that error is thrown when parsing a block when a statement is not
    followed by a newline or dedent.
    Also uncovered a bug where expressions followed by a plus are not
    automatically parsed as operations.

commit 86055d947a2609e456dfd8df4e3a255cc1eb3ec4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Mar 24 12:58:10 2019 +0100

    Add tests for valid definitions
    
    Fix bug where an empty definition was incorrectly identified as an
    error. In the language, it should be possible to define something
    without immediately assigning to it (we want to have "deferred"
    initialization).

commit 19854719ffa2da6ef501acf869e05fc176a26989
Merge: f943e54 6ed0411
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Mar 23 18:07:45 2019 +0100

    Merge pull request #51 from JSAbrahams/better-logo
    
    Better logo

commit 6ed0411a60cf67b97c94d14016fe881dad9883ac (origin/better-logo, better-logo)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 18:00:54 2019 +0100

    Point to ico file in README

commit a3bde8c867f1b26b3dce37db26ed94640bb61e79
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 18:00:02 2019 +0100

    Add logo ico file

commit 42e66369fe4152a5bddb2a8f5e0287a2029ed391
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 17:57:20 2019 +0100

    Add logo with text

commit f943e5422277adfdcd257fed6704e986902a2f61
Merge: 0edd71b c23490c
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Mar 23 12:03:23 2019 +0100

    Merge pull request #50 from JSAbrahams/test-parse-invalid
    
    Add Pass keyword and add tests for parsing invalid expressions

commit c23490cb174aaef913336b6509e9dc9eb14897ba (origin/test-parse-invalid, test-parse-invalid)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 11:54:25 2019 +0100

    Add tests for new pass keyword

commit 378d60c868814b79eb1f5abc5d138c94ce45c878
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 11:34:46 2019 +0100

    Add missing newline to invalid operation test

commit 30e2a1f468389d0daee3fcd6bafff3a8de04c196
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 11:33:10 2019 +0100

    Add tests for function calls

commit 498090420e3c2751b1cafadcd2388c28b45eea82
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 11:14:10 2019 +0100

    Add test for questor on nothing

commit 1afc684e9d0996e40c9b5afc470a33a4afa643a0
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Mar 23 11:11:06 2019 +0100

    Add Pass keyword and add tests for parsing invalid expressions

commit 0edd71bc6fc1bce2a74c87ffd811a9f2f8d18670
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 16:21:14 2019 +0100

    Add tests for parsing calls

commit 056179d5050c42ca649564114b6f69cdb567dbf8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 15:49:14 2019 +0100

    Add test for blocks

commit 62bb0245fc618088ac4becaccbd25c9f710e8620
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 15:38:01 2019 +0100

    Add tests for expressions and statements

commit fc0a9781ff4a732ed041ee885e833f86cb83e9eb
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 15:03:38 2019 +0100

    Add tests for some literals in operations

commit b0008f57f7caf2f82f66a33bb9d9044cad294ca8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 14:47:48 2019 +0100

    Add tests for unary operations
    
    - Fix bug where square root operation was not recognized as expression
      in parser.

commit db9d95b5de2f030a4b069d5b47179115a4b2e48f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 14:44:30 2019 +0100

    Add tests for operations
    
    - Fix bug where Ge was incorrectly parsed as IsA

commit 0a690cb84a9d92297325aff7a0a89fc06468cebc
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 14:07:50 2019 +0100

    Add verification tests for collections

commit 95d806798999efe329f37baffb94b9b9b4cdb0e5
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 13:55:17 2019 +0100

    Add tests for parsing control flow statements

commit 86a4fd779c9c9c82d978fc65e8a2266409eee95f
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 22 16:38:13 2019 +0100

    Change logo's to Unix and Windows

commit 5e99187594d91170531e63c29a5e03a7877d0e89
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 22 13:14:44 2019 +0100

    Use 4 spaces for proper list indentation

commit eaaa21958fb32721fae089dc248f355b19068afe
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 21 13:29:16 2019 +0100

    Use 4 spaces in markdown files

commit d0ecf36d186b1d2b1dcb8d5a98947234dfbdcf83
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Mar 21 15:56:25 2019 +0100

    WIP Update CodeCov configuration (#43)
    
    * Add bors and point it to travis build
    
    * Only build master in Appveyor and cache in Travis
    
    This should speed up builds. We don't build for every push now.
    We also cache cargo in Travis. Not sure if this will work properly but
    we'll see.
    
    * Update codecov config
    
    - Require ci to pass
    - Use sunburst diagram and list files in comment layout
    - Change range to 50..100
    - Notify if coverage changes in file not touched by PR
    
    * Add example tests for foreach statements
    
    This was also added here to test the new codecov config.
    
    * Format control flow tests

commit a9c14d7241a6a06524a719461c171a5f665eca4a
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Mar 21 13:40:43 2019 +0100

    Use 4 spaces in markdown files (#47)
    
    * Use 4 spaces in markdown files
    
    * Add single space to nested bullet points

commit 6a96c3f24b3a10116944926078f88d0d0a803406
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Mar 21 13:21:52 2019 +0100

    Add Codeacy to project (#44)
    
    * Add Codacy code quality badge to README
    
    * Move coverage badge

commit 2e49b8fb0720777c30e8647cec23db8d99a79a64
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Mar 21 13:21:25 2019 +0100

    Fix list-item-indent Errors (#45)
    
    * Fix list-item-indent errors
    
    * Remove excess spacing in CONTRIBUTING

commit f517f34905c4068dcd81b6d015cdbb8cc6c795e2
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 20 22:28:42 2019 +0100

    Fix links to CONTRIBUTING and CODE_OF_CONDUCT (#41)
    
    * Fix links to CONTRIBUTING and CODE_OF_CONDUCT
    
    * Simplify description text

commit db8aa301b1fe8ad45b45254567a141b91c0eac9e
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 20 22:07:13 2019 +0100

    Split up tests and add tests for the core (#40)
    
    * Add subdirectories to utility
    
    * Create sub directories for tests
    
    * Fix formatting in tests
    
    * Add tests for core
    
    * Update travis kcov config
    
    * Add leading slash for target directory
    
    * Point to correct output produced by cargo test for kcov
    
    * Remove unnecessary path for codecov

commit dd7a3a29c43e25c084bdd3105d2622dd804435d3
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 20 17:14:55 2019 +0100

    Change rustfmt indentation stye back to default (#39)
    
    Visual was too cluttered.

commit da9fcb0ca09881c986fe3653a1c6a33e0b926b62
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 20 16:55:58 2019 +0100

    Wrap pipeline (#33)
    
    * Create quick_transpile function which transpiles a given file
    
    This is a quick and dirty implementation.
    The python file is stored alongside the original file.
    
    * Use correct resource function in test util
    
    * Add newline to generated python classes
    
    * Format core mod
    
    * Create main file
    
    * [ci skip] Add tests for command line
    
    The main file however is not executed (this was verified with a simple
    print statement). Need to investigate why this is.
    
    * Fix command line tests
    
    The problem was that the check that checked if the resource was present
    didn't look in resources.
    
    Also used OpenOptions, since that makes it easier to deal with files.
    
    Only need to work a bit on the code quality.
    
    * Format files properly
    
    * Add tests to command to check overwrite of existing file
    
    * Improve util class of tests
    
    * Remove comments above imports
    
    * Introduce actual syntax error
    
    * Reorder imports

commit 8a1a31af77bcb637088a7095a0ffbf5487f99d5a
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 20 15:17:00 2019 +0100

    Center align badges in README (#38)
    
    * Center align badges in README
    
    * Fix spacing between build badges

commit 3530031e6289ac16048266766e39898269a8d182
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Mar 18 21:54:00 2019 +0100

    Remove logo from website
    
    It's already clearly visible in the readme. I'd rather have it in the readme as then it is visible on GitHub, we're developers will interact with the repository.
    On the documentation repo I think it's better to not have it in the sidebar.

commit 43c1d057dc2b83072c508e8c2289a22a80abd466
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Mar 18 21:11:24 2019 +0100

    Change documentation link to page link (#37)

commit 28d612621b069e93034428d940b62b7dfda4ab32
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Mar 18 21:08:53 2019 +0100

    Remove documentation from title (#36)

commit 1b2f305d3d1116260ec5ccdeea237b3c625ae9c4
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Mar 18 21:05:22 2019 +0100

    Add logo of Mamba to website (#35)
    
    * Add logo of Mamba to website
    
    * Add link to documentation website in description
    
    * Fix link to documentation
    
    * Make link hyperlink
    
    * Change link back to github link
    
    If I click on a link in GitHub, I expect to be taken to the GitHub page. (for now)
    
    * Put badges on separate lines

commit 329202644f79d8e34191c77d67a889738f7c828e
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Mar 18 20:35:25 2019 +0100

    Set theme jekyll-theme-minimal

commit 42615cbb1f40f4e599f9b4fd14e2728e5b120e56
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Mar 18 20:29:30 2019 +0100

    update mamba doc link in README (#34)
    
    It now points to the webpage.

commit 980af5ac555d304595be113c3fbf43ee3bb0353c
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 17 17:34:20 2019 +0100

    Re-add custom issue template (#31)
    
    * Re-add custom issue template
    
    * Add additional context to custom issue template

commit 13431dd3296d615a02f03e76344d1b84772ebbef
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 17 16:58:07 2019 +0100

    Fix code of conduct link in README (#30)
    
    * Fix code of conduct link in README
    
    * Fix code of conduct link in CONTRIBUTING
    
    * Simplify code of conduct link in README
    
    * simplify code of conduct link in CONTRIBUTING

commit aea5f4768805971da7da266039472c295dace59a
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 17 16:31:21 2019 +0100

    Add code of conduct (#29)
    
    * Add code of conduct
    
    * Add link to code of conduct in CONTRIBUTING
    
    * Add link to code of conduct to README
    
    Some other general formatting.
    
    * Remove wiki from code of conduct
    
    The project does not have a wiki.
    
    * Update contributing text in README

commit cfb4cd9f68f66bca364c0a09633015f7ac8f3918
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 17 14:59:21 2019 +0100

    Update issue and feature request templates (#23)
    
    * Update feature request template
    
    * Remove useless custom issue template
    
    * Add sections to custom issue template
    
    * Add additional context section to PR template
    
    * Add placeholder text to custom issue template
    
    * Remove trailing spaces

commit 47c3ece6c3b29f520c844148d821e34e969196a3
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 17 14:58:54 2019 +0100

    Re-add links to badges (#28)

commit b6d4147283c5620458696fce1cd1c34c15c1e9a4
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 17 14:21:37 2019 +0100

    Add Apveyor (#26)
    
    * Change styling of badges
    
    Also add built with love badge.
    
    * Add appveyor config `.appveyor.yml` file
    
    * Add appveyor badge to README
    
    * Install Rust in appveyor config
    
    * Move init to install in .appveyor.yml
    
    * Only run clippy on stable channel
    
    - Remove most channels, otherwise appveyor build takes too long
      - we test 64 bit stable and nightly channels only
    - Remove duplicate rustup install commands
    
    * Update badge style
    
    Use for-the-badge style.
    
    * Add MIT and Love badge
    
    * If channel is nightly install rustup nightly

commit 0572141197e9a31f581c3df51167ef0520492480
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Mar 17 12:45:33 2019 +0100

    Add tests for lexer (#24)
    
    * Add lexer test and fix off by one position when lexing id or op
    
    * Correctly parse equality
    
    * Remove DDoublePoint
    
    * Correctly lex True and False
    
    * Fix off by one position in string. Now we take into account the
      closing " character.
    * When desugaring enum, if exponent is empty, make exponent 0.
    * Correctly position indents instead of all giving them the same
      position as the first encountered character.
    
    * Lex identifiers that start with underscore
    
    * Add QuestCall Token
    
    * Fix incorrect position after "?or"
    * Fix incorrect position of "?"
    
    * Change argument of tokenize from String to str

commit d649a468e1be567fc335cf812d70c4d436244f85
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Mar 16 15:30:35 2019 +0100

    Add codecov config and to travis build (#22)
    
    * Add codecov config and to travis build
    
    Also added the codecov token to the environment variables within Travis.
    
    * Use kcov to generate codecov report
    
    * Remove rust nightly specification
    
    This should be done properly in the future.
    
    * Remove duplicate codecov report command
    
    * Fix target path for kcov coverage
    
    * Fix deps path
    
    * Remove trailing forward slash in deps path
    
    * Specify smoke and parser for codecov report

commit f4791f5897e091a5f97c980da0505493600ea59e
Merge: 5c57b3d 42967d8
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 20:53:48 2019 +0100

    Merge pull request #21 from JSAbrahams/better-readme
    
    Add Travis badge and Fix Access of Resources in Tests

commit 42967d8189ec94b794a4db57e34d54bbc558d8e5 (better-readme)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 20:50:26 2019 +0100

    Use forward slash when accessing resources on unix systems

commit d93c48c9e46fbbbf5fe50a60502297d52a14d464
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 20:35:07 2019 +0100

    Install cargo in travis script

commit 7da995fee629e0b11330f86cb5548d0b58ea0687
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 20:31:49 2019 +0100

    Add Travis badge

commit 5c57b3d06789fabcada69d1bd66769e4c070e3d1
Merge: c69d194 c45a620
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 19:42:02 2019 +0100

    Merge pull request #18 from JSAbrahams/better-doc
    
    Expand README and CONTRIBUTING docs

commit c45a620c02aece8e24d8a9eed1e436aae1bf3320
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 19:40:30 2019 +0100

    Expand CONTRIBUTING document
    
    * Expand CI section
    * Add extra steps to submitting an issue and submitting a PR
    * Slightly expand the etiquette section

commit 239214bfc46809e0da9f8450be435e565bed57a0
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 19:25:27 2019 +0100

    Fix some grammar mistakes in README
    
    Add some more explanation to the tooling section of the README.

commit c69d1941ace816e0ec8be2a4928b49c62d95ad97
Merge: 23195ec 31e0b57
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 18:09:55 2019 +0100

    Merge pull request #16 from JSAbrahams/update-feature-request-pr-template
    
    Update Feature Request template

commit 31e0b57ed865b087c4bbb6e5cb93169e0c158a15
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 18:09:47 2019 +0100

    Fix first section header

commit b51fa92c09cb0db49f43409b481429c1c152c8ae
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 18:07:50 2019 +0100

    Update feature-request.md

commit 23195ec97322f593d13091b8fac269667773ab68
Merge: 3e4ad07 bd7e8a4
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 17:58:30 2019 +0100

    Merge pull request #14 from JSAbrahams/better-readme
    
    Add clearer explanation of the language in README

commit bd7e8a4ddeb0d42be1206d2813edd6da084dfaa7 (travis)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 17:55:32 2019 +0100

    Add clearer explanation of the language in README

commit 3e4ad07af4ef443bf44a96011b7e556b098392f4
Merge: cc2b984 dd6640e
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 17:47:14 2019 +0100

    Merge pull request #12 from JSAbrahams/open-source
    
    Add open source features

commit dd6640ea645b0b770c5ffbff29463f7fbfda2ce2 (open-source)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 17:42:37 2019 +0100

    Reduce logo size in README

commit 1a70476b6d2504f8affee18a8735c32e2afa61ec
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 17:40:51 2019 +0100

    Add CI section to CONTRIBUTING document

commit d8346c58281242ace17e7789ffa8be3247d75e13
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 17:35:48 2019 +0100

    Update issue templates and add pull request template

commit fb7963d4fd1411e090ea35c958e54b58b1c1ce32
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 17:22:24 2019 +0100

    Add CONTRIBUTING document

commit 8c48daa3c62229f98562296cda4699f8a93ebc94
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 17:00:28 2019 +0100

    Update custom issue template description

commit cc2b984415f0a7b0c3072acf33898e219160f2c8
Merge: ace0b9c 10d1fd7
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 16:59:07 2019 +0100

    Merge pull request #13 from JSAbrahams/parsing-multiple-expressions
    
    Parsing multiple expressions

commit 10d1fd7fbb59641479b2f7d0b69c3918c8939561 (parsing-multiple-expressions)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 16:57:24 2019 +0100

    Expand test cases to test multiple expressions

commit 9616aa1ee5f9398404f8a73c855d6b33e0b2dc88
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 16:48:58 2019 +0100

    Add multiple arguments to anonymous function
    
    Make clear in code in which situations we exclude unary operators. This
    should be reflected in the documentation as well.
    
    Also use references where appropriate when reading tokens, negating the
    need to clone tokens.

commit 58aadc8f1f41e7883d92a558c26c8d99f2af0190
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 16:24:17 2019 +0100

    Add parsing multiple expressions to control flows

commit 41585e2968453b33394d70de60eba007aea7309e
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 15:04:03 2019 +0100

    Add issue templates

commit ace0b9cefee523eac22fe460853aaf3dbc63efef
Merge: 1167fb2 b14ea07
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 14:56:09 2019 +0100

    Merge pull request #10 from JSAbrahams/tooling
    
    Tooling

commit 1167fb258dbb63fa9dd8f41bc2bb1e31676c5c79
Merge: d0bbe5d 7c96f20
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Fri Mar 15 14:50:57 2019 +0100

    Merge pull request #11 from JSAbrahams/new-logo
    
    Use new logo

commit b14ea074dcffbf269c1643c30e3229487ffcb4ec (tooling)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 14:48:27 2019 +0100

    Use new grammar
    
    * Remove useless init node and constructor parsing.
    * Use when, match, then appropriately.
    * Fix ambiguity with anonymous function, must be preceded with '\',
      similarly to Haskell.
    * Use references where possible for consistency (and performance).

commit 5b674d511541c7bea11a84b23d7341cf3ceec1e1
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 14:47:30 2019 +0100

    Use new grammar
    
    * Remove useless init node.
    * Use when, match, then appropriately.
    * Fix ambiguity with anonymous function, must be preceded with '\',
      similarly to Haskell.
    * Use references where possible for consistency (and performance).

commit cdcb07963a85a8716b1829b091f5df80c3985edf
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 12:44:38 2019 +0100

    Add LICENSE and add tool descriptions to README

commit 7c96f203371a230c80a6d4888ce70662305239e4 (new-logo)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Mar 15 12:30:58 2019 +0100

    Use new logo

commit 08a56a07123893118fac0ec64338349d4017ef6e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 14 17:56:27 2019 +0100

    Set match_arm_blocks to false

commit 61ed74154e6a9062ee476b9741018c05459a9b0b
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Mar 14 17:48:11 2019 +0100

    Delete misc.xml

commit 18bccbf77a28d8756610e67b1ae4ca3958d3b0b2
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 14 17:41:59 2019 +0100

    Run format

commit cb27de234d69e8b5290d8432297af339442d7784
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 14 17:21:48 2019 +0100

    Surround strings with " when converting to python

commit 50059b6c68ccce79d3b26b4cc76a9d1cab502b7c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 14 17:15:46 2019 +0100

    Prefix statements with a newline in a block when writing to python
    
    Instead of having a separate newline at the start and then adding a
    newline at the end, which resulted in one newline too much at the end.

commit 61ac4c39c4287c783f2a4c151b8fab31da4181a1
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 14 17:12:10 2019 +0100

    Address clippy issues
    
    * Remove redundant return statements
    * Remove redundant `as_ref()` calls
    * Change method arguments from &Vec<...> and Vec<...> to &[...] so it
      can also be used with non-vec based slices
    * Use dereferencing instead of `clone()`

commit e16d24660c575f5a17cda99d8ee2dcad65235506
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 14 12:53:57 2019 +0100

    Configure and apply rustfmt and add empty clippy config toml file
    
    Rules for rustfmt are in the rustfmt.toml file. These are subject to
    change but should quickly diverge to a fixed set of rules to avoid large
    diffs in the future.

commit 569c53ee7a9fb3b46f08dfd06fd292ab1d217289
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Mar 14 11:15:39 2019 +0100

    Set up basic tooling
    
    * Clippy
    * Rustfmt
    * Travis yml file

commit d0bbe5dc8b87f124e5b3ff277b8acf7af6de6fe5
Merge: 5329066 a42c516
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Mar 14 11:02:22 2019 +0100

    Merge pull request #9 from JSAbrahams/compile-classes
    
    Compile classes

commit a42c516f52f5ff7d381022c035775de7519fd8cb
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 23:20:50 2019 +0100

    Desugar if with None else to if without else in core language

commit a84482023ed079780766766cfe1bc4919b92e556
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 23:14:44 2019 +0100

    Prefix private values and functions with _
    
    This conforms to the python standard. There is no way to actually
    enforce private in python, only with our own type checker.

commit 1f7d06a06c803f492e7db8b6ebb5f4a4893f1049
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 21:59:12 2019 +0100

    Allow function calls within operations
    
    * Make calls right associative
    * Add direct function calls without adding namespace self
    * Ensure proper indentation in bodies of if, for, while and __init__

commit 44d3e4c40d927a93df79be620450fbb765b9ff0c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 21:00:41 2019 +0100

    Add property call to core language
    
    Also identified issue where calls are left associative, whereas we
    actually want them to be right associative. This should be fixed.

commit f267bb9f125785ee5ad1f515f96ab8f8e030e4d7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 17:52:09 2019 +0100

    Add some rules for desugaring method and function calls
    
    * Add writing of class definitions

commit 12d364b6f007652989ac293fd1fad5c429183404 (fix-parsing-types)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 16:15:22 2019 +0100

    Remove definition from constructor argument
    
    * Remove constructor keyword

commit 6d49273b64f82b395e5dba1cd361a597ae74abf5
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 16:10:34 2019 +0100

    Use stateful and pure terminology

commit 013099dde33312739bd46745b4a5ff8a5c0f6f5e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 16:08:19 2019 +0100

    Add parsing of chained
    
    This for instance allows us to call an attribute of an object and then
    assign to it.

commit 2e172b00a8aa22db8600e440cd89c2f237fd2bb3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 14:36:42 2019 +0100

    Move type aliases and definitions to module
    
    * Improve code quality of parser, omit returns where redundant.
    * Improve naming of type tuples and arguments to more closely coincide
      with language grammar.

commit 5329066c4ff687e7c198f568b37a73e31183cbf3
Merge: 7096b87 66a340c
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 13 13:06:36 2019 +0100

    Merge pull request #8 from JSAbrahams/desugarer
    
    Desugarer

commit 66a340c7da20a8a0b4727c638d3eb9bf309b32c4 (desugarer)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Mar 13 13:05:52 2019 +0100

    Add ENum to core language

commit 54f4136b0daec1b0f5cfb28ae3a63e2e490ae36b
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 12 21:13:16 2019 +0100

    Fix indentation rules when writing python files

commit 2ca0fe2b3cc903b03e3fae50187a84d86571a4ae
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 12 20:52:23 2019 +0100

    Ditch experimental box syntax in desugarer
    
    * Always use desugar_expression, not desugar
    * Use string format in core module

commit 339e7d562669372604580028489361d086f58827
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 12 16:42:02 2019 +0100

    Add indentation to to python source conversion

commit e52bcf29bc0dbbe96982988505078096e06eeecc
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 12 16:05:10 2019 +0100

    Add some rules for converting to python source

commit 0a28d68a6210c6a9120366c11f359ad8b2c5c6eb
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 12 14:33:48 2019 +0100

    Add context to desugarer
    
    * Clearly differentiate type def in parser

commit 39fcb38dc9ee48cafde8dddcc6d488d18282815a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Feb 28 10:55:00 2019 +0100

    Remove doc, as this was moved to a separate repo

commit 671e861b6348f31479e15632b693474b8e0b5745
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Feb 24 20:12:49 2019 +0100

    Create framework for parsing to python source code

commit 8fd1b76bfad841db2b90ab8189765c8c9996a935
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Feb 24 19:48:14 2019 +0100

    Update documentation of the language
    
    * Expand general features of the language document
    * Slightly change grammar to use `=>` arrows.

commit ad2d7277635940f6827c006b1c6a73c2fdb0d5d4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 19 11:14:20 2019 +0100

    Remove sizeof operator from class doc

commit 039b97e82ea224a8efad92d287fff029d1ae5eed
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 19 11:13:48 2019 +0100

    Fix call in grammar

commit 4ed471b69784aec77f26f7dbc52f725e843785af
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 19 11:07:44 2019 +0100

    Remove unnecessary macro and use box syntax instead

commit b30aa63f5c5553395662535193530733bc4689c4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 19 10:58:24 2019 +0100

    Remove unnecessary core instructions

commit 8e6e3ffd1c459bb744c50aff5a2c3c5f732bb12a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Feb 13 15:17:58 2019 +0100

    Add start of simple vm

commit 4461ac6c5581a8d66ec67a812569a1938779ab56
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 12 14:33:33 2019 +0100

    Remove unused variables in parser

commit 96f9d594d80ad405efd5b5fd36c1e55df9df597b
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 12 14:27:41 2019 +0100

    Add some desugaring rules

commit 631849026e4fe6d574c5d4b6f43d6726238e5d11
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 9 21:02:38 2019 +0100

    Add parsing of default arguments values and literals as arguments
    
    The latter may be used for default behaviour.

commit 0badd45bdd2faa8799ea008771bdc2ee62279a42
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 9 20:47:10 2019 +0100

    Add parsing of postfix functions
    
    Postfix calls are wrapped in Call nodes, with a left and right side. It
    is up to the semantic checker to ensure that the left and right hand
    sides make sense.
    
    * Fix parsing of collections

commit 9cec693c6819a88991debac47c414ffbf467c797
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 9 19:41:25 2019 +0100

    Parse normal non-infix function and method calls

commit 76cabcf72d62fc46367931f380123d4fa54e28e5
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Feb 6 16:54:12 2019 +0100

    Redefine function call in grammar
    
    We can also now call methods and functions in other name-spaces using
    post-fix notation.
    Only need to actually implement in the parse_function_call function.

commit 4e183974008ad5206435b697a4c9e47d1f01af56
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Feb 6 15:38:29 2019 +0100

    Remove map from grammar
    
    A map is a set of pairs. Fixes ambiguity between anonymous functions and
    key value pairs.

commit de49bd85b8a344d3ff5b8d1a41e0c8d2b915b603
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Feb 12 16:52:48 2019 +0100

    Expand test class file

commit 8720992bce71c6c7b3a210f8d3b1735bc6721dd8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 12 11:45:33 2019 +0100

    Add top level parsing of type definitions
    
    * Make else part of condition optional
    * Allow inline condition in type definition
    * Remove unused where token

commit 7096b8736036330eab473421d5a0368e81931cf1
Merge: 1eaf759 d0e07c8
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Mar 13 12:51:11 2019 +0100

    Merge pull request #7 from JSAbrahams/logo
    
    Add first version logo

commit d0e07c821754f4578ac0efe0e708e1bb2513e383 (logo)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Mar 12 14:54:27 2019 +0100

    Add first version logo

commit 1eaf7599114c3c39114dbdcaf01a9d0fc3a45ba8
Merge: 40c21d4 b4fa958
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Feb 9 21:05:44 2019 +0100

    Merge pull request #6 from JSAbrahams/key-value-pair
    
    Add parsing of remaining language features

commit b4fa95805bef145ef16a973b7a8debc32a5e3d01 (key-value-pair)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 9 21:02:38 2019 +0100

    Add parsing of default arguments values and literals as arguments
    
    The latter may be used for default behaviour.

commit 4d623593f0a028d8109fbefbd420b654b6938d68
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 9 20:47:10 2019 +0100

    Add parsing of postfix functions
    
    Postfix calls are wrapped in Call nodes, with a left and right side. It
    is up to the semantic checker to ensure that the left and right hand
    sides make sense.
    
    * Fix parsing of collections

commit 55e038a641973b7456a071bf01a6355dcdc99dca
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 9 19:41:25 2019 +0100

    Parse normal non-infix function and method calls

commit efe4213416f53b7799542deda14622bc86ffd1a6
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Feb 6 16:54:12 2019 +0100

    Redefine function call in grammar
    
    We can also now call methods and functions in other name-spaces using
    post-fix notation.
    Only need to actually implement in the parse_function_call function.

commit ceaddf0c74319e3a7787805faa2b350d0c8f2e72
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Feb 6 15:38:29 2019 +0100

    Remove map from grammar
    
    A map is a set of pairs. Fixes ambiguity between anonymous functions and
    key value pairs.

commit 40c21d4c0eccdf6cab23faebf004818cceacc822
Merge: e0f833f 6b6f0f4
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Feb 6 14:25:31 2019 +0100

    Merge pull request #5 from JSAbrahams/debug-parser
    
    Debug parser

commit 6b6f0f4ca62864aeef663c7ac8e94155edcb169c (debug-parser)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Feb 6 14:03:34 2019 +0100

    Add parsing of `ofmut` keyword

commit 6dfd4a1f0d39fa8750a5811f11512dc9c1e8fce1
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Feb 6 13:33:30 2019 +0100

    Add assigning to collections to variable definition

commit a817b3e87b4b1be2c3309b591cb782cd05089288
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 5 18:19:10 2019 +0100

    Remove binary in operator

commit 022467650bb56fb6786c119100b33092e0d30943
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 5 17:02:37 2019 +0100

    Add init parsing, and enforce indentation in class and util body
    
    * Remove infinite loops in parsing class definitions and constructor
      arguments (call iterator next instead of just continue loop)
    * Only check for dedent if end of file not reached
    * Parse file instead of module

commit 94c9e9203266661f45895f773ae4fd9c11109b34
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 5 15:10:31 2019 +0100

    Add parsing of forward when parsing definition

commit 9dacff8b02a187c901b686fdbbbfb4ade2e6652e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 5 14:53:35 2019 +0100

    Fix parsing function definitions
    
    * Get ride of id_and_type parsing. This should be verified by type
      checker depending on the context.
    * Fix bug in lexer where `:` became `::`.
    * Simplify certain parsing constructs or remove redundant parsing
      constructs.

commit e0f833f057654b1593f555a4abd4769f60e7194d
Merge: 96ac0d7 e91b6d4
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Feb 5 00:36:07 2019 +0100

    Merge pull request #4 from JSAbrahams/error-handling
    
    Add parsing of modules

commit e91b6d4433e941cf5480b91d0453850e639c2ae0
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 5 00:46:15 2019 +0100

    Update endpos in file parser

commit 89dbf61fca3a13d9780e8c7194dca36104d15ff1
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Feb 5 00:38:30 2019 +0100

    Add parsing of modules

commit 9a23edb5a55518bd7dbdca510907a59d972a4838
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Feb 4 23:08:55 2019 +0100

    Remove postfix if from language in favour of postfix functions
    
    * Add raise and handle to both expressions and statements separately
    * Make constructor a definition
    * Add parsing of generics
    * Fix consistency in ast_nodes of parsing types (use optionals for
      optional arguments in grammar)
    * Remove "self" from grammar (still a keyword however)

commit 6003b82c46e3c10134f4a127560d65e60fb4c735 (error-handling)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Feb 4 18:09:45 2019 +0100

    Allow def as constructor arg and isnta keyword

commit 96ac0d724ee63fead46798be6b9114b603a89806
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sun Feb 3 16:13:10 2019 +0100

    Add COBOL and Perl to inspirations

commit 387553e07586337f3dee21f2f0db15b6c7345154
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Feb 3 13:02:10 2019 +0100

    Add parsing of constructor

commit d422e7876a5655554428425dd09523fc27858474
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Feb 3 00:25:09 2019 +0100

    Implement underscore

commit 8732b1c3ed20753e2c46a283dbfeca14fad3189e
Merge: 78a5895 22860db
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Feb 2 23:17:06 2019 +0100

    Merge pull request #3 from JSAbrahams/parsing-blocks
    
    Parsing blocks

commit 22860dbfdc457d049e4d6557658f0d14b33e95c3
Merge: 1f4f140 78a5895
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Feb 2 23:16:56 2019 +0100

    Merge branch 'master' into parsing-blocks

commit 1f4f1408ce5500d49970391a8dcf9d723b1fc503 (parsing-blocks)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 2 22:41:13 2019 +0100

    Implement function calling
    
    * Remove sizeof operator, which made the grammar too complicated

commit 094ebf3359b46fd85bd99f2e15447b39231b4f93
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 2 22:02:09 2019 +0100

    Finish parsing of collections

commit 4286707c52afc11d7d8646a706699f9f0869225f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 2 21:00:41 2019 +0100

    Fix parsing tuples

commit 62376b318393dedf4d0f0feb472f2143edecb9a7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 2 12:46:52 2019 +0100

    Remove some grammar errors from foreword

commit 7f50c72b624d3a0262ffea94e67de6a57a6fc1a1
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Feb 2 12:19:14 2019 +0100

    Finish parsing of definitions
    
    There is an ambiguity in the grammar. When parsing tuples, it is not
    clear whether we have a type tuple or a tuple with expressions.
    This ambiguity should be removed from the grammar.

commit 5d390d544ad3e1fd9605ead65c87149339e90472
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 29 17:28:42 2019 +0100

    Expand documentation of modues

commit 22af7f1163bbad0a284ca48f0ebe083b96939584
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 29 12:48:43 2019 +0100

    Rewrite foreword of philosophy

commit 040645e8238284307ddc57988a980fd5c8f0a5be
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 28 17:27:20 2019 +0100

    Simplify definition in grammar
    
    * Blur lines between function and variable, make clear they are both
      definitions
    * Add 'undefined' keyword
    * Add 'vararg' keyword
    * Add some missing keywords and special characters to language spec

commit 32bd224434cd54f6475c6935b53932ac2c4dcf50
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 28 14:07:36 2019 +0100

    Make range an expression, and expand philosophy document

commit 73b641843fd6741afde0b52884e49151f62469c8
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Jan 26 23:56:35 2019 +0100

    Add static verification or type properties to spec

commit da92f53909138770c8d533bf72ac10344b8576b5
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Jan 26 23:35:54 2019 +0100

    Use isa for type aliases instead of assignmet

commit 7f9a36fcff377337804ff40f9cd695ff3f32a253
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 26 20:11:28 2019 +0100

    Implement in operator

commit 41f2cb21a9e999b2093857a01c88f28c7ca3b312
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 26 20:06:56 2019 +0100

    Rework type refinement
    
    Change it from a system that desugars to post and pre conditions to a
    system that checks certain conditions upon instantiation (or casting)

commit fbee38bf17d8fd0a5080b09e11bc3fba0390b318
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 26 18:23:59 2019 +0100

    Add type refinement to language
    
    This can be used to implement design by contract

commit 841b80d1291486e59c475f8d02a12b3a9d630099
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Jan 26 16:43:57 2019 +0100

    Delete modules.xml

commit fff5fdad28d872ba66fe1280afb2643224d4685d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 26 16:21:08 2019 +0100

    Slightly update philosophy document

commit 2c72bfcf7afb7286269524343cc7ccf0bdcb39db
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 26 15:58:08 2019 +0100

    Add design by contract to language spec
    
    * Add retry keyword for error handling
    * Add ensure and require keywords for functions
    * Add inspiration document to outline philosophy of language

commit 6aed90cd75100d39e84cd05c2e4b2ea4ff20b82e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 26 00:00:00 2019 +0100

    Add parsing of range and collections except maps

commit e54219d8ee1982d0e8d67ea8d16c221ebe74a06f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 25 23:03:08 2019 +0100

    Implement new grammar in expression and statement

commit 13bb8f3851e3ce515ed654df0edad983210b523e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 25 17:06:09 2019 +0100

    And type alias to language spec and grammar
    
    Also add range to language spec and grammar

commit 09fd6572525f34d1b9946db1afd0645d3b7fc774
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 24 19:04:09 2019 +0100

    Implement control flow expressions, operations, and part of collections
    
    In the parser.
    * Add raises and handle keywords
    * Add private keyword
    
    Add some extra Nodes for closer mapping between grammar spec and
    actual implementation.
    
    Improve error handling documentation slightly, and make explicit what it
    is desugared to.

commit cd79b908cb3acc252ac42cfe3a51ca925d60a28f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 23 22:12:59 2019 +0100

    Make if source for test slightly more complicated
    
    This is to more effectively test the indentation rules as we try to
    debug it further.

commit 32bfee82d010b89e1df015ef07b2d70689cf9068
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 23 22:05:15 2019 +0100

    In list of consecutive newlines, if dedent, place after first newline
    
    Before, dedents were placed after all newlines. This however is
    troublesome if we have multiple newlines followed by dedent(s). Namely,
    it made it look like an statement or expression at the end of a block
    was not newline terminated, by followed by a newline and then dedent
    terminated.
    
    Now, when the lexer encounteres multiple newlines, it only stores the
    first one, and uses a counter to keep track of any other newlines. These
    are then added to the list once another expression is encountered.

commit de038fa1da49dab0684bb80642ce238e37115759
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 23 15:17:50 2019 +0100

    Change to using `->` arrows in function, and add explanation in spec

commit b70797414089eba9c93bca05b9c04b665e829b6e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 22 23:39:21 2019 +0100

    Only allow infix notation of functions if they have one argument in spec

commit 51cac0048e9aa2a735b9c185a978f41d5483b463
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 22 22:38:50 2019 +0100

    Add README to temporary doc folder

commit 1b0cf62072cc6b3060ac772dab1a57734acebf36
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 22 22:31:29 2019 +0100

    Add default behaviour and values to functions and methods in spec
    
    * Add list and map builder to language
    * Fix a few grammatical errors in documentation

commit 809caa38419350a25ab2a0b17d61813d4b187d4c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 22 13:34:33 2019 +0100

    Add extensions to language spec
    
    * Add raises token
    * Add raises to language grammar

commit 25626c62448c8fec9ec07a3ce6b321411a21fb8f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 21:33:00 2019 +0100

    Add further explanation to error handling document

commit 67702187d477f44081cddb564e83bec3edc7a665
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 21:20:55 2019 +0100

    Change the error handling in the language spec
    
    * Add documentation for functions and methods.
    * Use `->` in `when` instead of `then`, as the `->` better reflects the
      program flow.

commit 6913215cd2e1370dd64be03e9250fbbd0c439898
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 18:01:20 2019 +0100

    Add null safety and error handling to the language spec
    
    Add tokenization of the `?` and `?or` operator. Still need to tokenize:
    
    * `?and`
    * `!`
    * `!or`
    * `!and`

commit 680ad33a9b201afdd9efad1ba1eb8e99eddf49e7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 16:12:46 2019 +0100

    Make bracket token names explicit to avoid confusion

commit b2edc8a94a76075c8dd10b0cdc547abfc4af5563
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 15:53:04 2019 +0100

    Re-add to token (`->`)
    
    Need to re-evaluate the syntax of functions. Do we still want to assign
    to a function or do we switch to using the to (`->`) token?
    
    Also change the grammar of anonymous functions. The arguments are now
    represented using a normal tuple. The type checker should check that
    these are indeed identifiers.

commit b1db6d930b0cec40c8d34f9b41f684f17736d40c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 15:26:40 2019 +0100

    Correct generic example
    
    * Use correct generic type syntax
    * Add OtherNode to correct graph

commit eaf1339f276bb81affa5b3667650a8454216968e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 14:50:54 2019 +0100

    Use private in grammar (and generic example)

commit aedb8b627e6d98b113a584acaa125eabdcff69ea
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 14:44:10 2019 +0100

    Expand documentation of generics
    
    Add empty definition with type to grammar for types interfaces

commit 3f34bba8690fceac6baa2341028203bc74b2015d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 14:29:40 2019 +0100

    Add vertical line to character list, and explains what it does in docs

commit 76960e9e20c76e8533c1ffde1609c410f6599177
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 14:11:10 2019 +0100

    Add documentation for generics and re-add `from` keyword

commit 727fa67f26ec8d7f7f8ea0f27362c2ad5fb2207c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 13:29:52 2019 +0100

    Change operator overloading so `neq` cannot be overloaded
    
    This can produce confusing situations where, if one overloads eq but
    not neq, or vice versa, both eq and neq may be true or false at the same
    time. Therefore, we only overload eq.
    
    a neq b is desugared to not (a eq b)

commit f6280f3a918f2adf640d9455f9bbe794203833e8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 13:20:42 2019 +0100

    Add an explanation for mutability propagation

commit 1d480ceb8f74c988d0bda01f1029e9009dac7165
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 12:28:58 2019 +0100

    Add operator overloading to grammar

commit 37a5ff84446cae43860c2b50dd625e4c202689a4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 21 09:20:42 2019 +0100

    Add `ofmut` keyword for collections, and `// println`

commit 4ea493e2b632883430524d44856286f8523ed089
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 20 14:13:44 2019 +0100

    add .iml files and target to gitignore

commit 5c600e2d929079296612e0769bfff0196a0fdf13
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 20 14:11:25 2019 +0100

    Add .idea file to gitignore

commit 4bed95569b09dc49665a21dbd3da32bfb6d4a047
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 20 14:09:14 2019 +0100

    Fix end position function to calculate correct token widths

commit e5068a5e844dba9dbe8eb99f66bfc8b03c2ef833
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 20 13:39:05 2019 +0100

    Don't escape string if backslash used before a character

commit 80bcf8ddb387a4f23f3891e2ddb5de2ed101f185
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 20 12:54:04 2019 +0100

    Shorten equality keywords
    
    Use macros in operation to decrease verbosity and hopefully increase
    readability.

commit 5269fa427e33a983cb493751026458b3be40a754
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 19 21:42:08 2019 +0100

    Remove unless keyword
    
    Expand documentation of the language.

commit e86c27b37aa5a4ba5de4e702389c55ee66093492
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 19 16:45:09 2019 +0100

    Expand notation of collections in grammar
    
    * We now have maps
    * We have a size of operator (which should desugar to a function)

commit 78a58954023dae51121628578ba4764f79ccb3c9
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Jan 19 15:37:35 2019 +0100

    Fix definition anonymous function in documentation

commit e42c89837e4a5ab2476f4e894a4847b941ee94f1
Merge: 7f8246f 3dedd10
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Sat Jan 19 14:25:48 2019 +0100

    Merge pull request #2 from JSAbrahams/module-imports
    
    Add module imports

commit 3dedd10a8134642431b2931df082c93e82d5e885 (module-imports)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 19 12:35:04 2019 +0100

    Expand grammar of parsing types, type tuples, and fix parsing types

commit 6c23043eb6fc81f23e02bd0233fa1bf2de3a277c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 19 12:19:29 2019 +0100

    Don't add NL after ever token in lexer

commit 7d511ad55256c16d2099bb09fd4d02ceb4b38e56
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 18 21:54:20 2019 +0100

    Implement type

commit 15d7627da472e1191fa638e368e4df44d56b8aa4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 18 14:56:19 2019 +0100

    Made code logic in block more explicit

commit ae398860a354e60b2c3ed266c0b34aed4154913b
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 18 14:33:45 2019 +0100

    Implement new rules of definitions

commit d223e3215aed6a63e5fac85a695db9e2ee7af1d7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 18 02:36:39 2019 +0100

    Don't increase line position when increasing indent

commit 47830a059b26edfddd809de87a7ef608e1a44616
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 18 02:25:52 2019 +0100

    Only dedent if non-whitespace character encountered at lower indentation
    
    This is done using a boolean. After every newline check if the last
    one was a newline, indicating an empty line.

commit f11fc850b6d63ae7da76fdd1810090d62d61814e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 18 02:07:30 2019 +0100

    Fix indentation rules in parser
    
    Still need to deal with empty lines in code blocks. We don't want to
    insert a dedent or indent if the indentation remains unchanged, even
    if there are some empty lines in between.

commit 52e3f922842c60bc7c32651795ae6c762397fd50
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 22:06:40 2019 +0100

    Add indent and dedent rules to lexer
    
    Still a bit buggy, but don't have time to fix it at this moment.
    Aside from the implementation, the concept however seems to be sound.

commit 4ec92cecf8c80f120daef1020b2c4e922fd3b3a5
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 21:54:28 2019 +0100

    Use peek instead of next and passing current token in lexer
    
    This is more elegant, and reflects the structure of the parser.

commit 693c5b47ce4694e76e4537bab4bb822352520cba
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 21:39:29 2019 +0100

    Expand lexer to coincide with grammar and add code comments to grammar
    
    Code comments are now ignored by the lexer
    
    The to arrow has been removed.

commit 3b27b9994e55ae8b208fe8a09a070df580e6a406
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 19:32:22 2019 +0100

    Finish Using AST
    
    Should still clean up the operation module, as it has become very
    bloated.

commit daa6a35fd72c53fc4c9d37f26562ba0ef780d1c7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 19:13:36 2019 +0100

    Start using AST instead of Node

commit 0370cc3ac14a983ddd45b6e045572e6c782c88ba
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 16:20:54 2019 +0100

    Use typealias for Token Position Peekable

commit 20f29c0dbc4fa0e9b060e1e9befcf2b77f7d322f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 14:58:12 2019 +0100

    Use default generic in ParseResult

commit 91e6de4c6a208ee1d6b976703d3a0de98d6793bf
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 14:22:47 2019 +0100

    Move core language definition to desugarer
    
    Create empty interpreter

commit aff913f83eafb3c70d6b1fb402e4f94090de4924
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 13:40:31 2019 +0100

    Expand documentation
    
    To make more explicit the ideas of the language.
    This will also become important when building the type checker.

commit ede4443ae6776506819af047c337b21150a3bde6
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 17 13:32:30 2019 +0100

    Expand documentation
    
    To make more explicit the ideas of the language.
    This will also become important when building the type checker.

commit ecd6741118d7c579bb89c7477ce0e45e2d08b96c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 16 15:27:49 2019 +0100

    Remove 'from' keyword

commit 782d7c46bae38f24fcafffbb00e8da7359a73718
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 16 14:19:14 2019 +0100

    Add missing keywords and symbols to lexer

commit bf36208d61f80d4d45f3b18949496202cb00a55e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 16 14:10:48 2019 +0100

    Add constructor to grammar

commit d7a33f91f27faf2b420b71d46b1e6f0c05f5bd88
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 16 12:51:56 2019 +0100

    Use structs with named parameters instead of tuples
    
    This increases the readability of the parser, and decreases the
    likelihood of mistakes being made.
    
    Also remove the indentation in the parser, which is no longer needed
    there.

commit b0fdf2fe0b8dcd5ceca877b678a598ee7cba2722
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 16 11:23:46 2019 +0100

    Switch to using structs in core to avoid confusion

commit 1432595325d3b588b0436150a07fac7c67e110f8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 15 23:12:29 2019 +0100

    Add 'isa' token, node to parser, and node to core language
    
    * Start implementing indent rules in lexer and simplify block to only
      deal with indent and dedent.

commit 4ebd998e93145b1068a964d8a61ea5d541539b48
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 15 21:54:45 2019 +0100

    Add dedent token
    
    This can be used to detect increased and decreases in indentation to
    mark the end and start of code blocks.
    
    TODO actually use token

commit e896b28750d7f8b0ce2acf2f81a111a9c55d36c3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 15 21:42:38 2019 +0100

    Add debug printing of parse trace
    
    I realise now that skipping of indentation should not be done in the
    parse block. Instead, we somehow need to check the indentation at the
    start of every parse function. Depending on the context, the indentation
    should be either 0 (an inlined expression), or 0 or greater if they
    are a line.

commit ec8ea0889e357d995e02528f55e7410307882bd9
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 15 19:11:12 2019 +0100

    Fix indentation logic of code blocks
    
    The fix was found by cloning the iterator and looking ahead at the next
    line.
    * If the next line is only indentations followed by a newline, skip
      empty line.
    * If next line is 0 or some indentations followed by a token that is not
      newline, check that indentation on next line is equal to indentation
      of do block. If less, end of do block. If more, return error.
    
    In both cases, first move the iterator forward by one to skip the
    newline token on the current line. We always want to do this, whether we
    exit the block or stay in it.

commit e036be4ac5f2fb66f4b3d687aebecca329436927
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 15 12:15:26 2019 +0100

    Fix order of operations
    
    Can now also handle an uneven number of operations.

commit 95b04ab066c23afe3c77752370cade5ac27027b3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 15 12:02:53 2019 +0100

    Modify order of operations
    
    Fix order of operations (though it still can't handle an uneven chain
    of operations of the same level).
    
    from weakest to strongest:
    * binary-logic and equality
    * comparision
    * addition and subtraction
    * multiplication and division
    * power and modulus
    * unary operators, constants, and expressions

commit fc784d4cff2f3b3df1b752c83e00ede70d1d272f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 21:59:21 2019 +0100

    Separate relation from other binary analysis
    
    This is because this operation is not reflective. Furthermore, this
    allows us to change relational operations as such:
    
        if (a < b < c) {
            // code here
        }
    
    The smallest should always be on the left in chained comparisons,
    so we may not have:
    
        if (a > b > c) {
            // code here
        }
    
    This is to prevent confusion. The type checker should ensure this.
    As such, the desugarer will only only check if the right side of the
    comparison is a comparison itself.

commit a23a87bfb36bc367a7fd0daabd884f92365157cd
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 21:14:18 2019 +0100

    Update grammar of anonymous functions

commit 3bfeb16cb323b6729cc418261330234a2cc843e8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 21:07:06 2019 +0100

    Add type declaration to grammar, and type rule
    
    A type is now either an id, a tuple of types, or a mapping.

commit 0a6964d1ad1ae678367a36a0b6207323b438e781
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 20:36:38 2019 +0100

    Add some basic desugar rules
    
    Type checking should take place before the desugar stage. This:
    * Improves the quality of type error messages
    * Prevents information loss, which happens during the desugar phase,
      from taking place before the type checking has taken place.
    
    As a sidenote, Haskell also has the type checking stage take place
    before the desugar phase.

commit 9c639550fe7cfdb4ad685d613189726ebe2aff4f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 18:40:00 2019 +0100

    Create basic front-end framework

commit 9bf1418022a5b73e2ffce36271e37584e70c050d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 18:19:29 2019 +0100

    Create core language

commit 6e6e45f30221c5fa966bfe4795c971a96edf010b
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 16:47:04 2019 +0100

    Remove unused imports

commit eeece8e9327c3244c73bad9c0ba28202d0267606
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 16:45:22 2019 +0100

    Fix

commit f06e67c8288cd4b977d07a193be9a8d1e7512f21
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 14 16:38:09 2019 +0100

    Only a decrease in indentation marks the end of a block
    
    * blocks can have as many newlines. An indentation decrease marks the
      end of a block
    * Fix order post operator
    * Remove module imports, this will be re-added later
    * Remove unnecessary ind parameter from check_next_is! macro

commit b07fe84c7a71e5b5c8d12c89046cf41ed0e1e3de
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 13 12:40:01 2019 +0100

    Store current token upon next_or_err macro invocation
    
    This means that the error message will show a stack trace with positions
    that reflect the call trace of the parser.

commit 0e774f0450caf42a46767f571273d9aa677717ac
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 12 20:55:47 2019 +0100

    Add custom error messages
    
    This is more informative than just stating that expected the first of
    the possible set of tokens.

commit 81e18c0594d21187aad2999f6588a1f68b1e5cf9
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 12 20:38:23 2019 +0100

    Add current position at each position it stack trace

commit 1f75516611f8589abafafda3e58df1652fc23588
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 12 18:05:34 2019 +0100

    Use get_or_err macro in remainder of parser
    
    * Create get_or_err_direct macro for situations where we don't want to
    box the Node
    * Integrate indentation direct into result, so was pass OK with a tuple
    with an Node and an indentation. We don't pass an indentation when
    we return an error as this doesn't matter. As an added bonus, these
    greatly reduces the verbosity of the parser.

commit 442b3f39225ee9e027020c5c3649f6d0bb875324
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 12 12:20:32 2019 +0100

    Create get_or_err macro and start implementing macro
    
    This prevents deep nesting of match statements. Every element is
    evaluated and the Result is matched directly in the macro, preventing
    nesting.

commit e91cb570f6152cc1f026c46661658970dfa4c042
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 11 18:50:28 2019 +0100

    Fix long lines in source code

commit 81120258915a92836db5d73fc7b00d6c75fa7ae9
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 11 18:35:07 2019 +0100

    Successfully implement error messages

commit 63b4c9efce9a5dad5b8d92f1c14f0975fc5d36bc
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 11 17:02:17 2019 +0100

    Create check next is token macro

commit e05d3ad1e69bf79b2cb966394df012bb2d959239
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 10 18:59:48 2019 +0100

    Use ParseResult in parser
    
    Some type errors still present.

commit 116b793e1a69d8bbe03f8639e0d4380465dac8e9
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 9 22:20:13 2019 +0100

    Continue using TokenPos
    
    Still need to add it to a few locations.

commit 9b0f82dcebffcf03eebc2d8d383ac2e3bf041b2a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 9 21:32:19 2019 +0100

    Create ParseError and use it in Assignment

commit e40939a8f3cfbc9fd5fa171f6032d3963daae29d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 9 19:43:03 2019 +0100

    Implement anonymous function parsing
    
    * Remove loop test

commit 884d768a923d59363a555bcde381e548ad9e3d4c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 9 19:26:40 2019 +0100

    Use if instead of debug assert equals
    
    Most debug assert equals changed the state of the code, meaning that
    production code would behave differently.

commit cd0366ce7e10ee23e4615c03b3572338ea3d8f4f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 9 17:24:25 2019 +0100

    Add anonymous function to grammar
    
    The idea is that the type checker only checks the general structure of
    these functions. Therefore, we need dynamic typing as well.
    
    Also convert panic messages to error messages

commit 72c7272e4e9ff1e8c1c9df7d70c9d2e87cdfbdb1
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 9 17:14:53 2019 +0100

    Simplify structure of parser
    
    No more nested modules.

commit a740b1259652b383f28d90aab72ce506d348eeb1
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Wed Jan 9 11:28:30 2019 +0100

    Add `from` to grammar
    
    This may take anonymous functions.
    
    We should, however, consider that functions also may, in the current grammar, also return anonymous functions. This means that it is impossible in certain to type check functions and their return types (we want static type checking). This should be looked at.

commit 36472e9cf6780f3e593f3c22ca24cdf924b3644f
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 22:32:49 2019 +0100

    Remove capitalisation of true and false in grammar

commit 9aa723703a6e3b9b098d85aa2b9bf1344da15617
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 22:16:21 2019 +0100

    Make expression after return optional in grammar

commit a33ac03188a608cdf3c0f9eef86ddf772c1463d0
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 21:48:33 2019 +0100

    Change assignments to assignment

commit 283be196eea7366ea86eaa2fbdeaadf5dd7e0a7a
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 21:47:56 2019 +0100

    Improve readability of grammar document
    
    * Remove `loop` keyword, as it doesn't fit the mathematical theme of the language.
    * Remove useless distinction between expression and maybe-expression. Nothing can be guaranteed to be an expression till type checking.

commit 108642da3d3780717e6060135ab43b58a40f5572
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 21:13:38 2019 +0100

    Fix e-notation in grammar

commit baf654ced0dd5d82fb9ddc3a87b4d56c3d901456
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 21:11:58 2019 +0100

    Fix order of operations
    
    Operations that result in a boolean are done last now.

commit 39e5ce51841de697047482fb48f495cba52fbaa9
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 20:59:11 2019 +0100

    Change usage of `util` and `private`
    
    * `util` means static inside class
    * `private` means only visible within class
    
    Global mutability is not possible in the current model, which is what we want. In future more extensive documentation should be written to distinguish between the four module types.

commit 82bcb4af96bfaa5b5103d2cfa52aabb5eb0e85f6
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 20:59:04 2019 +0100

    Change usage of `util` and `private`
    
    * `util` means static inside class
    * `private` means only visible within class
    
    Global mutability is not possible in the current model, which is what we want. In future more extensive documentation should be written to distinguish between the four module types.

commit e7fd8d5831b6189e2e902d5c3f8774ed4a1081b6
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Tue Jan 8 20:16:10 2019 +0100

    Fix indentation in grammar.md

commit 47082a7e90f1272b7cb466e0c7ff77aa2b576045
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 8 20:14:04 2019 +0100

    Add type and util to grammar

commit 6a47d3575a3f2925844811ffe8c42a735446d378
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 8 18:02:35 2019 +0100

    Attempt to fix logic of do block
    
    There still seems to be something wrong, can't figure out what exactly.

commit 94ab110aff7075e20e0267871a80be5e0b13a29a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 8 16:53:52 2019 +0100

    Fix logic of do blocks and when statements
    
    See the changes in the grammar
    Function definitions still seem to be buggy however. If a function body
    is a do block all functions definitions that follow seem to be ignored.

commit 0a577b90019b30558459954ed0c75813c63cea4a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 8 15:45:42 2019 +0100

    Add classes
    
    Classes can be instantiated as objects. If a module does not contain
    a class, it means that its functions can only be called statically.

commit bba47ef16ad4cf55a7b7ac0c44dfe3b855dbaefb
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 20:30:37 2019 +0100

    Use tuple or double pattern matching instead of nesting
    
    This can be done in more locations

commit a9c23de40c9ed907e352f2cad94674cbe5dbd930
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 20:00:24 2019 +0100

    If if let to check for double newlines

commit dc806f54f32398c7b3e567b8b48e6d9ea806730a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 19:53:24 2019 +0100

    Use if let where possible instead of match
    
    * Remove distinction between unrecognized token and none in error
      messages. Later down the line it would be nice to append to error
      messages, much like a stack trace. Therefore, error messages should
      be short and to the point.

commit fa9eaeaf07b50955f2c1deb8eb20cb5f7a5ffc2f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 19:02:17 2019 +0100

    Use wrap macro for boxing

commit ff745635f8158cae2682165f54b478f8d6e277a5
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 17:52:57 2019 +0100

    Clean up tokenizer

commit e8630a5d54fdac7bd64aef64a5624e2a78c7655d
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 16:53:50 2019 +0100

    Add module imports

commit 7f8246f273a99328d89d5121afbf402967ad6fed
Merge: 6c2d086 d5f07f4
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Mon Jan 7 16:36:42 2019 +0100

    Merge pull request #1 from JSAbrahams/functions
    
    Add functions to parser

commit d5f07f473d9cde52da8c67a7d883362f05c8d61b (functions)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 16:35:27 2019 +0100

    Add newlines to end of files that lacked newline at end of file

commit acf2ffaca1b62069a89f0250a30afca4dbdb1d91
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 16:33:49 2019 +0100

    Remove required 'is' after 'when' expression item
    
    The parser thinks it is an equality expression if there is an `is` after
    an expression, causing the `when` to break.

commit aafd2445350539c448610e3f551426751c7a5ce4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 16:07:59 2019 +0100

    Add direct function calling

commit 4ccbced289bb60c2de7667986cd27e23249062f6
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 15:36:29 2019 +0100

    Complete parsing of function definitions

commit 88acec9c74632860d2587b39415ce82991e20cff
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 01:27:13 2019 +0100

    Fix tuples test

commit 4bbc89fdc04ed921a518f256bab3e11c989c3cd7
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Jan 7 01:26:42 2019 +0100

    Further expand function definition
    
    * Still flawed, need to fix recursive implementation of static-tuple.

commit fb05a7f546cfabf0b76978c6756eca8ae9fa38d0
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 21:32:50 2019 +0100

    Add parsing of function calls
    
    * Added scaffolding for function definitions, not yet complete

commit 53a8bbe2c7fd5c274a832080e03e51f47a571b74
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 21:01:14 2019 +0100

    Add function definition to program

commit 6f366ee5dd5c408325ec8393137df22461e34f78
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 20:42:08 2019 +0100

    Add parsing of function calls

commit 4c98f5153b20bb9b22c3cad254748b9404632709
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 20:20:56 2019 +0100

    Add Fun def and call ast node types

commit 42b90ae212750062e72034abd35d4b149ba6b69a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 19:49:09 2019 +0100

    Add function and tuple to grammar
    
    * Implement tuple in language
    * Add maybe-expr to distinguish between cases where we want an
      expression and a statement.
    
    A maybe-expr is used in a situation where an expression is required,
    but we cannot know in advance whether it will be an expression or
    statement without type checking the program.
    expr-or-stmt may be used when it does not matter whether it is an
    expression or statement.

commit 043fdf90567e7ca02ddf8d5e5d919ab964b04f37
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 17:33:31 2019 +0100

    Add tuples and functions to grammar

commit 6c2d0869059094b4eea2458d7f5655201642991d (lexer-pos)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 16:36:32 2019 +0100

    Add indentation rules to grammar description

commit 82e6b3a0724b5660f2f456795e1ddf615bc9b173
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 16:28:24 2019 +0100

    Duplicate logic of do block in when statement

commit cc60394d5e1280f15595aeb6f57885e15bf3e18f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 16:22:54 2019 +0100

    Add unless to control flow expression

commit 6f342b52e543828804e0354193234cf4db36e707
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 16:20:44 2019 +0100

    Add statement-or-expression-or-do to grammar
    
    This is useful for control flow statements.

commit e2ffc919632cd4c173000797377ab3e0ac9ed216
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 15:30:09 2019 +0100

    Reorganise project
    
    * Move expressions and statements to own modules
    * Move integration tests to tests directory, including required
      resources
    * Move unit tests to test module within respective modules

commit 082e00d55bf0a3311b7654bd27389afd71baa422
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 14:38:59 2019 +0100

    Use debug assert equals in production code

commit d9e960d822d0075ef6b523cceaa5bb530a4c5207
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 14:26:11 2019 +0100

    Double newline causes exit of do-block, not error

commit 4bf72bab196faf5a1c252c10e9890a19286fa1b4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Jan 6 14:13:54 2019 +0100

    Implement new grammar
    
    * Postfix if and unless statements
    * Implement distinction between control flow expressions and statements

commit 0604a0cadaf0f952c784c134a48ee7b578b06792
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 5 19:02:53 2019 +0100

    Add source files and tests for parser
    
    Need to fix ambiguity in if statement, and should implement new grammar.
    This includes the new distinction between statements, expressions, and
    the postfix if statements. Source could should closely map to grammar
    documentation.

commit aa5a01083f5abaf018f51bcdeca68c184e8c1aa4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 5 19:01:22 2019 +0100

    Don't assume e in lexer means enum, may be identifier

commit 498427a95e05c43bd5c6dd03239432e01a3e4620
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Jan 5 18:59:39 2019 +0100

    Change grammar to add postfix if
    
    * Make clear distinction between control flow expressions and statements
      However, control flow expressions may still be statements, so the
      type checker should verify this.
    * Assignment to expression is now more explicitly a statement (this was
      already the case however).
    * postfix if (and unless) are statements.

commit a635bbdb64ddb40e0688429618dde99665f77ed5 (parser-lexer-integration)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 18:36:43 2019 +0100

    Use macros in section that parses arithmetic expressions
    
    This significantly reduces the amount of lines.

commit 79caf1649665e9550bc026fb374dc2db0b35e3ae
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 18:14:46 2019 +0100

    Add assigning to expressions (without let)
    
    This could allow us to add tuples later. The type checker should
    check that the assignment is valid either way.
    
    * Add simple correct program and test case.
    * Add parse of while (which was not accounted for).
    * Fix logic of checking newlines in do blocks (logic copied to when but
    not tested). Now:
      - A boolean is used to denote empty lines instead of newlines, which
      is more indicative of what we are looking for. Previously we look for
      newlines, but this is confusing as every statement and expression
      should end with a newline.
      - Again, after every statement or expression is evaluated, a check
      is done to verify that it is indeed followed by a newline (which is
      then discarded).
      - If at the end of a file, no check is done for a newline or
      proper indentation.

commit 2d7aec11e152c19978061d5c8517d43f330eaedd
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 15:16:31 2019 +0100

    Allow capital E in e-number

commit d3a602a26ca22d67ab390c75ce014075d529dbc4 (parser)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 14:23:12 2019 +0100

    Update rules of a do block and when
    
    The rues are as follows, in do (and in when expression):
    - Each statement or expression must be followed by a newline, unless
    there are no tokens left, signalling the end of the file.
    - Indentation may not be increased.
    - A double newline may not be used (to avoid confusion about
      indentation levels)
    - Indentation may only be decreased after a newline, signaling the end
    of the do block.
    
    * Improve code readability and quality
    * Use shorter identifiers

commit 04846f3a4af73c7cfa044a938c9073a0b02504bb
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 13:22:43 2019 +0100

    Add indentation checking to do blocks

commit fffa133f4589c613c50c4fc70896e367234632a3
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 12:42:29 2019 +0100

    Decrease indentation after do block
    
    * Fix parse_bracket function in expression

commit c3c2cd0ecdfebb793b5a85bdeef0c3c82882271f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 12:14:28 2019 +0100

    Allow do block after newline in brackets
    
    * Add some more comments with the grammar to the source for clarity

commit d77b4186895a1971a846ae8e3e987ada9cc10871
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 12:02:16 2019 +0100

    Add 'donothing' keyword

commit 3e442dc8f7ee8d82b8401fa83abcccf31f1e3b55
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 12:00:53 2019 +0100

    Move expression and statement functions to separate files
    
    * allow expression to reduce to do block if newline in brackets

commit 7c3ced826c2b4cbe056dd0e77ea3d5337b7e7e7f
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Jan 4 11:23:58 2019 +0100

    Change number system in actual lexer and parser
    
    * Num split up into real, int and enum
    * Strings now stored instead of float, in anticipation of
    arbitrary precision
    * e-nums added to language
    * lexer structure simplified, no need for errors in most situations

commit 549ad67d9a7c4033cb636533f4cc51287d92a8aa
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Jan 3 20:48:51 2019 +0100

    Make number explicit in grammar

commit 6f5a153786b7c3f6373651455a072e81687ac176
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Jan 3 20:44:11 2019 +0100

    Add possible digit to e-notation

commit 0bab84ee8466d19eb64d4d54cbfdf590e93f4993
Author: Joël Abrahams <JSAbrahams@users.noreply.github.com>
Date:   Thu Jan 3 20:43:22 2019 +0100

    Update grammar and add e-notation
    
    * Simplify certain names

commit 33dd0ae174d36f4fff37aecf59edbf9f53e8ed88
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 3 17:07:46 2019 +0100

    Add when and loops to control flow

commit 791e37945dbb5c781c73a0dcba3b769d56ae48d4
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 3 16:32:15 2019 +0100

    Split parser into multiple files

commit fd5d0bcb3c202d22f1c7107cf1ec3e670077863e
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 3 15:44:17 2019 +0100

    Simplify grammar

commit 165278a27e77585e4f1b3143a2fdfabc3d5ba740
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 3 15:10:16 2019 +0100

    Make more explicit control flow expression

commit 77b9fc21c25ca2a77e2471c011a1922e9f8f249a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 3 15:05:10 2019 +0100

    Add assignment to language

commit a8da6a506fc35eb8746220961858dbfeec3bde35
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 3 14:37:20 2019 +0100

    Add if statements

commit 16d41d1caad4282912e7048fd4f6ad65c11f00cc
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Thu Jan 3 14:26:29 2019 +0100

    Add parsing of arithmetic expressions

commit 63924b776e5fe6fc90ecd47e0a7b33bc31c609c9
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 2 18:57:29 2019 +0100

    Mimic grammar documentation in parser source code

commit 7a15d727b0515dc43df604f378638c2f1ea4b0f8
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Wed Jan 2 16:33:17 2019 +0100

    Add indentation to parser

commit 3db63fe8e930d0587244cbdf62d0452f8e756bff
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Tue Jan 1 16:57:04 2019 +0100

    Create skeleton for recursive parser

commit 102e8b49bd1782a6f2839bbe601c2fc7b5404b1c
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Dec 31 19:26:35 2018 +0100

    Create parser skeleton

commit 5aa0ae3647a67ed61fa3f2ebae57a5a912071b3c (lexer)
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Dec 31 18:43:12 2018 +0100

    Only peek when iterating so characters aren't skipped

commit 22e8b7bc36f8560e1763f7688260718dcf645d42
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Mon Dec 31 17:21:43 2018 +0100

    Add test for multiple operations

commit 5c6ad63383b41a9fe7fe7cc7ca13826058e8b186
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Dec 28 16:05:12 2018 +0100

    Simplify number lexing

commit 5bb4253b195fcfb852fe07c484df654a1ca4e66a
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Dec 28 15:39:46 2018 +0100

    Add tests

commit 12fbba59f2aec93989cb456e9f58559604e7dbb6
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Fri Dec 28 13:55:07 2018 +0100

    Return an id not string in get_id_or_op

commit 941c1c75f40a2983a2510ede5ef761d4e3afbefd
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Dec 23 21:11:29 2018 +0100

    change project name to my_lang

commit f166e6834bf67a4ce5bfb879fba6f5d61fd19358
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Dec 23 21:11:19 2018 +0100

    add loop keyword to grammar and remaining keywords to lexer

commit f50b1a9eeb89f756089a2f504aea77cfba4b473b
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sun Dec 23 20:52:16 2018 +0100

    Add error messages to lexer

commit 0c88e689305e61d0e332d5429bfdf986ca350f85
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Dec 22 22:16:59 2018 +0100

    Create basic lexer

commit 4a18f15e05597ec2717788b6265d6cf59f946b57
Author: Joel Abrahams <abrahamsjo@gmail.com>
Date:   Sat Dec 22 09:45:42 2018 +0100

    Initial commit