Commit graph

1002 commits

Author SHA1 Message Date
Tad Hardesty
cb31916ca0 Add ConstFn::File 2019-06-29 17:59:17 -07:00
Tad Hardesty
6b401ef5ef Add coverage to dmdoc output
Closes #38.
2019-06-29 16:28:07 -07:00
Tad Hardesty
88f2c92810 Handle 1#INF literals
Fixes #78.
2019-06-29 15:54:01 -07:00
Tad Hardesty
71190c1291 Possibly fix Travis not doing release builds 2019-06-26 23:46:47 -07:00
Tad Hardesty
835ebd5d76 Disable the editor crate again 2019-06-26 23:08:25 -07:00
Tad Hardesty
3422607368 Use Constant::as_int in rgb() evaluation 2019-06-26 22:50:33 -07:00
Tad Hardesty
ec8533ce6f Drop noisy_float dependency
Turns out BYOND actually does have NaN.
2019-06-26 22:48:18 -07:00
Tad Hardesty
f2da6c1d3a Add fix hints for proc calls and return types 2019-06-26 14:32:35 -07:00
Tad Hardesty
a14e2be2ef Add 'fix hint' for list type annotations 2019-06-26 14:24:06 -07:00
Tad Hardesty
2146d911f6 Fix rgb() erroring on floating-point arguments
Adds a relevant test case.

Fixes #81.
2019-06-26 02:39:47 -07:00
Tad Hardesty
e730a1e0a6 Improve messaging in the type expr compiler 2019-06-26 02:31:32 -07:00
Nick
535a8a2e59 Add dockerfile (#73)
I told you I'd do it and I did it. Also includes some rudimentary
documentaiton on how to use the docker image.
2019-06-26 02:22:31 -07:00
Tad Hardesty
e931d94c15 Include a constant in the Analysis for prefabs 2019-06-25 22:42:20 -07:00
Tad Hardesty
ebbe056944 Handle .type and L[].type analyses 2019-06-25 01:12:47 -07:00
Tad Hardesty
180f431e07 Pass argument Analysis to TypeExpr::evaluate 2019-06-24 22:30:12 -07:00
Tad Hardesty
ae92ec4772 Implement TypeExprCompiler::visit_follow 2019-06-24 21:58:54 -07:00
Tad Hardesty
f77b8dc70a Add further type expression structure 2019-06-24 21:41:25 -07:00
Tad Hardesty
5ed88c420c Add stub for return type expressions 2019-06-24 20:42:11 -07:00
Tad Hardesty
3a08659f96 Add list of known built-in proc settings 2019-06-24 20:24:25 -07:00
Tad Hardesty
46bd2f0433 Add unlint expression escape hatch 2019-06-24 19:43:34 -07:00
Tad Hardesty
7ca628b4d4 Add warnings for misuse of 'set spacemandmm_' statements 2019-06-24 19:42:05 -07:00
Tad Hardesty
079a4af9fb Add Sublime extension link 2019-06-24 13:22:28 -07:00
Tad Hardesty
defadb8e7d Update feature list in langserver README 2019-06-24 13:09:07 -07:00
Tad Hardesty
9353f820ad Support GotoDefinition on proc names in proc headers 2019-06-24 11:46:52 -07:00
Tad Hardesty
df6b02b4a0 Erase old diagnostics for now-clean files on reparse 2019-06-23 20:51:43 -07:00
Tad Hardesty
51a0fd2631 Add a reparse notification for faster diagnostic pumps 2019-06-23 20:47:57 -07:00
Tad Hardesty
df654bda95 Sort results of Find References 2019-06-23 19:04:02 -07:00
Tad Hardesty
8cc091e6c0 Improve document open/close diagnostics 2019-06-22 18:55:22 -07:00
Tad Hardesty
2294d29b95 Handle Exit notifications without decoding them
Sublime likes to send exit with a {} payload rather than a null
playload.
2019-06-22 18:51:49 -07:00
DamianX
d51e437fa1 Add pixel_{x,y} to proc/image (#86)
Even the reference doesn't say anything about them, but they do work.
2019-06-04 12:07:33 -07:00
DamianX
45f8ac9d52 Fix lexing 'E' in hex literals (#84) 2019-06-03 12:40:00 -07:00
Tad Hardesty
0c0ff4d093 Add must_call_parent checking 2019-05-08 15:56:51 -07:00
Tad Hardesty
8676b7e8b5 Set return type of get_step to /turf 2019-05-06 18:39:29 -07:00
Tad Hardesty
93b2a564f4 Remove Type 2019-05-06 18:24:35 -07:00
Tad Hardesty
4cc6dbfada Replace Analysis::from(Type) with ::from(AssumptionSet) 2019-05-06 00:56:30 -07:00
Tad Hardesty
e7dfb74add Run dreamchecker in langserver single-file mode 2019-05-06 00:09:31 -07:00
Tad Hardesty
d1e0055f7c Consider types and paths truthy 2019-05-05 23:51:44 -07:00
Tad Hardesty
ab1e839b4a Replace Type with AssumptionSet in Analysis 2019-05-05 23:48:59 -07:00
Tad Hardesty
f820fb1b0e Add AssumptionSet::from_constant 2019-04-30 00:12:23 -07:00
Tad Hardesty
778e96a554 Add beginning of simplified Assumption system 2019-04-29 23:54:06 -07:00
Tad Hardesty
4cf57435da Remove redundant import in constant::evaluate_str 2019-04-14 21:34:03 -07:00
Tad Hardesty
290cd2e162 Fix being unable to parse maps split into two columns per block 2019-04-14 18:06:00 -07:00
Tad Hardesty
2364009fd9 Add additional Type to allow is_truthy 2019-04-09 22:36:20 -07:00
Tad Hardesty
603c28efaf Add isX helpers to Type 2019-04-04 23:33:37 -07:00
Tad Hardesty
6ebde3d5f9 Store a set of types in Analysis, not just one 2019-04-04 23:21:09 -07:00
Tad Hardesty
c68a3c1a94 Remove checker Type::List in favor of Instance(/list) 2019-04-04 23:13:07 -07:00
Tad Hardesty
974eb7e34e Store the object tree in single-file mode 2019-04-03 01:08:07 -07:00
Tad Hardesty
70f8dd5a96 Use the global context to allow file_url to work 2019-04-02 23:42:53 -07:00
Tad Hardesty
12185035d0 Handle rootless environment in get_annotations 2019-04-02 23:19:56 -07:00
Tad Hardesty
58e3905cb6 Set InitStatus earlier in Initialize handler 2019-04-02 21:09:29 -07:00