Commit Graph

3019 Commits

Author SHA1 Message Date
gingerBill
dff4c6b666 Clean up logic 2020-12-06 00:59:23 +00:00
gingerBill
0e9b357a5d Fix typo 2020-12-06 00:55:31 +00:00
gingerBill
1eb1bffd89 Merge pull request #799 from odin-lang/parser-experiments
Add experimental `-insert-semicolon` functionality to tokenizer and parser
2020-12-06 00:53:52 +00:00
gingerBill
e8653ac47e Update main.cpp 2020-12-06 00:51:32 +00:00
gingerBill
f0683c9102 Merge branch 'master' into parser-experiments 2020-12-06 00:49:48 +00:00
gingerBill
ca4657fd31 Add custom semicolon insertion to odin/tokenizer and odin/parser 2020-12-06 00:47:58 +00:00
gingerBill
d94414b0f4 Correct ternary if/when parsing 2020-12-06 00:15:35 +00:00
gingerBill
80fead1de5 Add ast.Selector_Expr_Call 2020-12-06 00:03:45 +00:00
gingerBill
069c6cac3f Add package name and source code location to Type_Info_Named 2020-12-05 20:47:50 +00:00
gingerBill
1a8ea6113a Remove hash field in runtime.Source_Code_Location 2020-12-05 19:52:08 +00:00
gingerBill
76e6624dbb Remove type name generation for procedures in ir.cpp 2020-12-05 19:21:00 +00:00
gingerBill
09a52b7ee6 Fix typos 2020-12-05 16:56:09 +00:00
gingerBill
7b36174c17 Fix formatting 2020-12-05 16:38:26 +00:00
gingerBill
a82c902f99 Minor correction to bytes.Buffer's vtable 2020-12-05 15:36:02 +00:00
gingerBill
14ae2e0a8d Add bufio.Writer and bufio.Read_Writer 2020-12-05 15:14:21 +00:00
gingerBill
2ab6cdb98e Add package bufio; add bufio.Reader 2020-12-05 12:03:57 +00:00
gingerBill
21c1abe15a Add fmt formatting for runtime.Source_Code_Location 2020-12-05 12:03:38 +00:00
gingerBill
4c41045133 Fix typo in package io 2020-12-05 12:03:07 +00:00
gingerBill
0ed1300bd6 Make bytes.Reader and strings.Reader have the same interface 2020-12-04 21:25:13 +00:00
gingerBill
dd63665b58 Update bytes.Reader 2020-12-04 20:33:14 +00:00
gingerBill
9b22583397 Add bytes.Buffer 2020-12-04 20:18:41 +00:00
gingerBill
63f2480951 Begin work on package bytes ([]byte equivalent of package strings) 2020-12-04 19:16:40 +00:00
gingerBill
edbb3e3b32 Fix typos 2020-12-04 18:53:17 +00:00
gingerBill
ecf324e213 Remove buffered type 2020-12-04 18:50:30 +00:00
gingerBill
7268c80d64 Add strings.fields and strings.fields_proc 2020-12-04 18:50:05 +00:00
gingerBill
fd453be831 Deprecate opaque in favour of #opaque in the core library 2020-12-04 18:49:39 +00:00
gingerBill
2a232f2397 Remove the (reserved) keyword macro 2020-12-04 16:14:11 +00:00
gingerBill
c4cb7170ee Deprecate keyword opaque in favour of #opaque 2020-12-04 16:13:05 +00:00
gingerBill
b6bbe29c8f Remove const as a (reserved) keyword 2020-12-04 16:04:58 +00:00
gingerBill
5d0db4c63a Clean up fmt usage with io.Writer and strings.Builder 2020-12-04 15:04:54 +00:00
gingerBill
05a3bdad58 Allow nested procedures to access @(static) and @(thread_local) variables 2020-12-04 11:28:14 +00:00
gingerBill
0ef02e6737 Improve packages io and strings; add io.Section_Reader 2020-12-03 15:57:46 +00:00
gingerBill
047586afc6 Change ExactValue layout for complex/quaternion types to minimize its size 2020-12-03 14:21:33 +00:00
gingerBill
5acdcfb57c Keep -vet happy 2020-12-03 13:26:33 +00:00
gingerBill
6e04b1c429 Remove using stream on custom stream types in package io 2020-12-03 13:23:36 +00:00
gingerBill
828fe2ce56 Fix #795 2020-12-03 12:25:45 +00:00
gingerBill
18da0b3418 Integrate package io into core library 2020-12-03 10:45:26 +00:00
gingerBill
334a8c46e8 Fix io typos 2020-12-03 00:27:21 +00:00
gingerBill
e0fb081cbd Keep -vet happy 2020-12-02 23:46:41 +00:00
gingerBill
bca28e94ec Keep fmt happy 2020-12-02 23:43:28 +00:00
gingerBill
875415daa9 Make os._file_stream_vtable private 2020-12-02 23:40:23 +00:00
gingerBill
0cf3ae93c0 Add os.stream_from_handle; fix io.close 2020-12-02 23:39:33 +00:00
gingerBill
c4172e3914 Rename stream field names 2020-12-02 23:17:21 +00:00
gingerBill
8e08ae47fb Add strings.Reader 2020-12-02 23:12:43 +00:00
gingerBill
d9343ae997 Add package io 2020-12-02 23:12:14 +00:00
gingerBill
4d30b88927 Fix typos 2020-12-02 23:11:46 +00:00
gingerBill
7389ffba6d Fix -llvm-api const initialization of &T{} 2020-12-02 21:07:15 +00:00
gingerBill
a6301ab58a Add type_assertion_check2 2020-12-02 11:50:57 +00:00
gingerBill
996c854071 Disable lb_const_hash for the time being 2020-12-02 11:48:50 +00:00
gingerBill
a9c1811027 Fix typo 2020-12-02 10:41:18 +00:00