Aleksey Kladov
|
307c6fec61
|
Use CrateName for semantic names
|
2020-07-01 09:53:53 +02:00 |
|
Laurențiu Nicola
|
f8d37ff0b2
|
Add support for include_bytes
|
2020-06-27 21:02:47 +03:00 |
|
Laurențiu Nicola
|
b4420626fb
|
Add support for include_str
|
2020-06-27 19:34:48 +03:00 |
|
Aaron Loucks
|
4c655c01f3
|
Enable hover and autocomplete docs on macro generated items
|
2020-06-03 06:46:07 -04:00 |
|
robojumper
|
1cd78a3355
|
correctly infer labelled breaks
|
2020-05-31 11:40:18 +02:00 |
|
Aleksey Kladov
|
5e5eb6a108
|
Align grammar for record patterns and literals
The grammar now looks like this
[name_ref :] pat
|
2020-04-12 00:00:15 +02:00 |
|
Edwin Cheng
|
759bcea96d
|
Implement dummy assert macro
|
2020-03-11 23:08:12 +08:00 |
|
Edwin Cheng
|
0a06c7e6e6
|
Implment include macro
|
2020-03-06 22:58:45 +08:00 |
|
Edwin Cheng
|
1465cc0c4f
|
Implement concat macro
|
2020-03-04 01:21:14 +08:00 |
|
Kirill Bulatov
|
7de7c8a7ef
|
Remove ImportResolver-related stubs
|
2020-02-09 12:34:41 +02:00 |
|
Kirill Bulatov
|
c669b2f489
|
Code review fixes
|
2020-02-02 14:27:52 +02:00 |
|
Kirill Bulatov
|
6dae5cbb11
|
Require ModPath for importing
|
2020-02-02 14:06:51 +02:00 |
|
Kirill Bulatov
|
7a2e449424
|
Prefer imports starting with std
|
2020-01-28 01:02:06 +02:00 |
|
Aleksey Kladov
|
4d66f5d7d2
|
Fix panic in tuple fields
|
2020-01-07 14:49:42 +01:00 |
|
Florian Diebold
|
2058f704cb
|
Add dummy implementations of env! and option_env! builtins
They don't do anything except return the correct type.
Also refactor the builtin macro tests a bit.
|
2019-12-21 13:34:43 +01:00 |
|
Edwin Cheng
|
dddee23f43
|
Add std::ops::Index support for infering
|
2019-12-19 12:45:07 +08:00 |
|
Florian Diebold
|
6911bc89a7
|
Rename N! to name!
|
2019-12-13 22:33:38 +01:00 |
|
Florian Diebold
|
259c42f00e
|
Add macros for known names and paths
|
2019-12-13 22:33:37 +01:00 |
|
Emil Lauridsen
|
7705209051
|
Correctly infer - and ! using std::ops::{Neg,Not}
|
2019-12-13 12:45:38 +01:00 |
|
Florian Diebold
|
3a5aa03e66
|
Remove unnecessary len parameter for Name::new_inline_ascii
I assume it was previously required because `len` was not const, but that
doesn't seem to be a problem anymore.
|
2019-12-06 21:25:22 +01:00 |
|
Florian Diebold
|
c5ffb0dc81
|
Add stub implementation of format_args{_nl} macros
Just enough to fix the huge amount of type mismatches they cause.
|
2019-12-06 21:25:22 +01:00 |
|
Florian Diebold
|
10697041c1
|
Implement all the other built-in derives
Since as long as we're not implementing the bodies, they all work the same way.
|
2019-12-05 19:52:52 +01:00 |
|
Florian Diebold
|
18f6a995d0
|
Add expansion infrastructure for derive macros
|
2019-12-05 17:23:09 +01:00 |
|
oxalica
|
4992d2bf79
|
Infer range types
|
2019-11-29 03:10:16 +08:00 |
|
Jeremy Kolb
|
67d3600f59
|
Expand compile_error!
|
2019-11-24 19:01:51 -05:00 |
|
Jeremy Kolb
|
1ee5592be2
|
Expand column!()
|
2019-11-22 11:34:48 -05:00 |
|
kjeremy
|
786544f022
|
Expand file! to dummy ""
|
2019-11-22 10:05:04 -05:00 |
|
Piotr Szpetkowski
|
8ae5d6faf6
|
Add support for Stringify builtin macro
|
2019-11-22 07:56:50 +01:00 |
|
Edwin Cheng
|
c46768d13d
|
Add basic bultin macro infrastructure
|
2019-11-11 14:13:31 +08:00 |
|
Aleksey Kladov
|
872ac566bf
|
push name down to hir_expand
|
2019-10-30 18:56:20 +03:00 |
|