Commit graph

127 commits

Author SHA1 Message Date
Tad Hardesty
bd445ce453 Send a hello on the first request to the langserver 2018-03-08 00:52:33 -08:00
Tad Hardesty
cbcb42d932 Add more language server skeleton 2018-03-08 00:26:11 -08:00
Tad Hardesty
485afc6806 Update Cargo dependencies 2018-03-07 01:18:14 -08:00
Tad Hardesty
cb7e335e95 Make constant-evaluation errors non-fatal 2018-03-07 00:06:06 -08:00
Tad Hardesty
5a678559c8 Fix tinting images with no alpha channel 2018-03-06 23:21:29 -08:00
Tad Hardesty
a20bb546a7 Add sound() constant function 2018-03-06 23:09:02 -08:00
Tad Hardesty
b5bc9e097d Allow keyword arguments in constant new() calls 2018-03-06 23:08:53 -08:00
Tad Hardesty
326ab492dc Defer list association handling until after the parser 2018-03-06 22:42:26 -08:00
Tad Hardesty
8da6c768de Add Severity enum and add builders to DMError 2018-03-06 22:02:18 -08:00
Tad Hardesty
8b41b4c8da Rearrange constants module to put the types first 2018-03-06 21:12:53 -08:00
Tad Hardesty
f0eda65079 Handle octal numeral corner cases better 2018-03-06 21:05:51 -08:00
Tad Hardesty
5857a2e154 Interpret string literals as Latin-1 2018-03-06 21:03:41 -08:00
Tad Hardesty
5123ab3ece Show all errors, not just one, in parse_environment 2018-03-06 21:02:36 -08:00
Tad Hardesty
aa202dcc6e Add a Context reference to Lexer 2018-03-06 19:30:22 -08:00
Tad Hardesty
0aae716b0c Add do-while statements 2018-03-06 18:16:39 -08:00
Tad Hardesty
9b82622048 Place file list in Context behind a RefCell 2018-03-06 17:48:34 -08:00
Tad Hardesty
65325f6dc5 Require semicolons after expression statements 2018-03-06 17:10:43 -08:00
Tad Hardesty
affdad1c04 Fix parsing of blocks followed by statements 2018-03-04 19:32:41 -08:00
Tad Hardesty
25f7629867 Include template no-op when hiding space 2018-03-04 19:00:09 -08:00
Tad Hardesty
c29d5aa856 Add underlays for fake window turfs 2018-03-04 18:59:33 -08:00
Tad Hardesty
30c5000ec7 Add ability to store a cause to DMError 2018-03-01 20:16:53 -08:00
Tad Hardesty
2f5b37f17f Move pretty_print_error onto Context 2018-03-01 19:50:43 -08:00
Tad Hardesty
4a40e630f5 Fix paths on fancy table icon replacement 2018-03-01 19:43:51 -08:00
Tad Hardesty
d261bb863d Move the file list from Preprocessor to its own struct 2018-03-01 19:42:38 -08:00
Tad Hardesty
a234223bbc Add var declarations for sound datum 2018-02-27 19:00:53 -08:00
Tad Hardesty
d3d5f3973b Avoid dividing by zero on projects with no procs 2018-02-27 18:36:40 -08:00
Tad Hardesty
d48f3a4c3a Improve stringify failure messages in case of shenanigans 2018-02-27 18:34:32 -08:00
Tad Hardesty
21a48826ee Fix hexadecimal constants 2018-02-27 18:33:55 -08:00
Tad Hardesty
4eba3774d2 Add ternary operator 2018-02-27 18:09:07 -08:00
Tad Hardesty
aac310154d Move error handling into its own module 2018-02-27 15:39:15 -08:00
Tad Hardesty
c57d9f078e Print a message rather than panic on parse failure in CLI 2018-02-27 13:52:22 -08:00
Tad Hardesty
2401edccbe Quote symbols in parser errors 2018-02-27 13:37:31 -08:00
Tad Hardesty
29ed27b1ad Add a flag to run optipng on the output automatically 2018-02-27 12:56:15 -08:00
Tad Hardesty
c9cc1457c2 Fix default-visibility pipes not going underfloor correctly 2018-02-23 00:45:31 -08:00
Tad Hardesty
be06815e74 Produce a more polite error on key overflow 2018-02-22 22:09:12 -08:00
Tad Hardesty
92e2b24054 Fix nested block comments and escaped line comments 2018-02-22 00:33:32 -08:00
Tad Hardesty
af7b932864 Handle parenthized associated lists 2018-02-21 23:35:13 -08:00
Tad Hardesty
dac40b6156 Give more helpful errors on file-not-found 2018-02-21 23:31:53 -08:00
Tad Hardesty
7293816f72 Don't evaluate global non-consts ("The Yog hack") 2018-02-21 23:30:58 -08:00
Tad Hardesty
869cb43d00 Fix SOUTHWEST not being defined 2018-02-21 22:41:23 -08:00
Tad Hardesty
aa1390ba62 Parse same-line proc bodies 2018-02-21 22:37:27 -08:00
Tad Hardesty
ae97425d05 Parse proc, var, and var/const blocks 2018-02-21 22:05:12 -08:00
Tad Hardesty
e943a0be97 Lossily decode non-UTF-8 string constants as a hack 2018-02-21 21:25:29 -08:00
Tad Hardesty
bf970f5c5f Port transit tube corners to a render pass 2018-02-09 22:49:32 -08:00
Tad Hardesty
a795d0e87a Make map keys opaque and reduce them to 16 bits 2018-02-09 20:10:13 -08:00
Tad Hardesty
24c530c366 Continue parsing object tree on bad proc body 2018-02-09 01:13:00 -08:00
Tad Hardesty
fa7431da64 Parse interpolated strings 2018-02-09 00:49:15 -08:00
Tad Hardesty
e558763c31 Add initial statement parsing and more expressions 2018-02-09 00:49:15 -08:00
Tad Hardesty
1be9511bfc Add parsing of proc parameters 2018-02-09 00:47:58 -08:00
Tad Hardesty
01247447a7 Port some overlays to a render pass, add tank dispensers 2018-02-08 23:25:29 -08:00