gingerBill
|
f0683c9102
|
Merge branch 'master' into parser-experiments
|
2020-12-06 00:49:48 +00:00 |
|
gingerBill
|
2a232f2397
|
Remove the (reserved) keyword macro
|
2020-12-04 16:14:11 +00:00 |
|
gingerBill
|
b6bbe29c8f
|
Remove const as a (reserved) keyword
|
2020-12-04 16:04:58 +00:00 |
|
gingerBill
|
54fbdabc38
|
Add experimental -insert-semicolon functionality to tokenizer and parser
|
2020-11-01 15:10:06 +00:00 |
|
gingerBill
|
4629754f7c
|
Inline asm expression (-llvm-api)
See https://llvm.org/docs/LangRef.html#inline-assembler-expressions
Example:
```
x := asm(i32) -> i32 {
"bswap $0",
"=r,r",
}(123);
```
Allowed directives `#side_effect`, `#align_stack`, `#att`, `#intel` e.g. `asm() #side_effect #intel {...}`
|
2020-10-24 16:32:37 +01:00 |
|
gingerBill
|
ca818fb857
|
Remove comments containing unicode characters from tokenizer
|
2020-07-14 23:51:46 +01:00 |
|
gingerBill
|
3d4a3730b0
|
Add notin deprecation
|
2020-05-27 18:47:45 +01:00 |
|
gingerBill
|
1f31d573e4
|
Fix tokenization
|
2020-05-27 18:43:02 +01:00 |
|
gingerBill
|
237962182b
|
Fix tokenizing for %%
|
2020-05-27 18:41:10 +01:00 |
|
gingerBill
|
1a0614b0d7
|
Improve performance of tokenization and parsing
|
2020-05-27 18:23:37 +01:00 |
|
gingerBill
|
876820789e
|
Add rune_is_letter_or_digit for tokenizer
|
2020-05-27 12:54:11 +01:00 |
|
gingerBill
|
4e21a4d46a
|
Optimize rune_is_* procedures for tokenizer
|
2020-05-27 12:43:49 +01:00 |
|
gingerBill
|
6ac0fb80a6
|
Minor tokenizer performance improvements
|
2020-05-27 12:32:11 +01:00 |
|
gingerBill
|
d6bcc25b69
|
Fix tokenizer for 0i #658
|
2020-05-24 21:43:36 +01:00 |
|
gingerBill
|
ef539696b9
|
Strip carriage return \r from raw string literals
|
2020-05-23 11:39:29 +01:00 |
|
gingerBill
|
86b613fb15
|
Remove the need for type_of, size_of, align_of, offset_of to be keywords
|
2020-05-22 12:32:29 +01:00 |
|
gingerBill
|
b13423d7f7
|
Global variable initialization support
|
2020-02-23 16:25:11 +00:00 |
|
gingerBill
|
7d9600b740
|
Ternary Expr; lbAddr extra; Phi node support
|
2020-02-06 23:33:41 +00:00 |
|
gingerBill
|
159150c6d9
|
Allow not_in as keyword over notin, but still allow notin to work
|
2020-01-16 10:00:14 +00:00 |
|
gingerBill
|
9db81498d8
|
Make the string type elements "immutable", akin to char const * in C
Allows for extra security and optimization benefits
|
2019-12-01 14:10:59 +00:00 |
|
gingerBill
|
b53fe14c22
|
Change error to syntax_error in parser
|
2019-10-13 16:06:41 +01:00 |
|
gingerBill
|
b9d3129fb3
|
where clauses for procedure literals
|
2019-08-31 20:13:28 +01:00 |
|
gingerBill
|
6d3feb4531
|
Fix typo in tokenizer (no actual bug)
|
2019-08-26 16:18:26 +01:00 |
|
gingerBill
|
7bc146e6fd
|
Built-in Quaternions (Not just an April Fool's Joke any more)
|
2019-08-26 11:33:05 +01:00 |
|
gingerBill
|
9cadd58465
|
Improve tokenizer slightly
|
2019-05-28 14:44:32 +01:00 |
|
gingerBill
|
222941727f
|
Add ..< operator for ranges; Add extra checking for bit set assignments
|
2019-05-28 12:45:20 +01:00 |
|
gingerBill
|
458ec5922e
|
odin query
Output .json file containing information about the program
|
2019-05-25 20:24:19 +01:00 |
|
gingerBill
|
ab0afa548b
|
Fix ||= and &&=
|
2019-05-06 11:32:35 +01:00 |
|
gingerBill
|
ecd2eacd75
|
Remove dead keywords; Fix min and max for enum types
|
2019-03-31 22:35:05 +01:00 |
|
gingerBill
|
2ada90e094
|
Improve a tokenizer error message; Add extra tokens for in and notin for fun!
|
2019-03-24 19:12:41 +00:00 |
|
gingerBill
|
1eaa47ebae
|
Fix using import behaviour - #352
|
2019-03-17 13:03:39 +00:00 |
|
gingerBill
|
a0c81c79ad
|
Fix bugs: Array Literals with constant elements; IR printing of raw procedure types
|
2019-02-24 10:30:58 +00:00 |
|
gingerBill
|
a9ab90bd24
|
Make static an attribute rather than a keyword prefix
|
2019-02-23 22:17:27 +00:00 |
|
gingerBill
|
e551d2b25e
|
Replace foreign export {} with @export
|
2019-02-23 21:39:47 +00:00 |
|
gingerBill
|
a240a3d146
|
static variable declarations (Experimental)
|
2018-12-28 13:31:06 +00:00 |
|
gingerBill
|
eb5af2876a
|
Support #[...] as an alternative attribute syntax
(Experimentation between `@()` and `#[]`)
|
2018-12-26 12:19:12 +00:00 |
|
gingerBill
|
1f2fdddc6d
|
Support #! comments
|
2018-12-26 12:00:16 +00:00 |
|
gingerBill
|
b504d6e12a
|
notin operator
|
2018-12-21 11:34:15 +00:00 |
|
gingerBill
|
b55b1ffe14
|
opaque keyword and type
|
2018-11-11 17:08:30 +00:00 |
|
gingerBill
|
2d4aa2be6d
|
Remove type as being a keyword
|
2018-10-13 14:04:34 +01:00 |
|
gingerBill
|
597fb452b1
|
Minor fixes
|
2018-09-24 10:22:22 +01:00 |
|
gingerBill
|
220485a2d2
|
typeid as keyword (ready to implement polymorphic name parameters)
|
2018-09-02 15:56:36 +01:00 |
|
gingerBill
|
884d5fed9f
|
bit_set['A'..'Z'], bit_set[0..8]
|
2018-08-16 15:16:57 +01:00 |
|
gingerBill
|
acc010cba5
|
Add bit_set type
|
2018-08-14 17:07:56 +01:00 |
|
gingerBill
|
89f4e7a8db
|
-no-crt flag for windows amd64
|
2018-08-13 01:22:14 +01:00 |
|
gingerBill
|
d0fc9aa069
|
Allow for '\"'
|
2018-08-10 17:48:29 +01:00 |
|
gingerBill
|
0718f14774
|
Reduce number of range and slice operators #239
Replace .. and ... with : and ..
|
2018-08-01 21:34:59 +01:00 |
|
gingerBill
|
c3c7834246
|
BigInt support in the constant system
|
2018-07-28 00:41:31 +01:00 |
|
gingerBill
|
8236c6d4b7
|
Allow for base enum type with an enum declaration
|
2018-06-11 22:50:13 +01:00 |
|
gingerBill
|
c067b90403
|
Add basic package support (no IR support yet)
|
2018-05-26 23:12:55 +01:00 |
|