Commit Graph

  • 60b9ef1f5d Fix math.factorial() Oskar Nordquist 2020-12-13 02:36:29 +01:00
  • f64584b92a Improve -insert-semicolon rules gingerBill 2020-12-09 23:40:45 +00:00
  • 9eb12889f4 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-12-09 23:35:14 +00:00
  • 6f6a3f2ccf Fix typos for -insert-semicolon gingerBill 2020-12-09 23:35:08 +00:00
  • a574ebe5ec Merge pull request #805 from DanielGavin/master gingerBill 2020-12-09 23:22:11 +00:00
  • 9be0272c13 Merge pull request #806 from arqv/nix gingerBill 2020-12-09 23:21:21 +00:00
  • 5923470e35 Add Nix derivation Lyla Bravo 2020-12-09 18:51:37 -03:00
  • 934809397f small fixes to the parser DanielGavin 2020-12-09 21:33:10 +01:00
  • b6aa549eb8 Fix typo gingerBill 2020-12-08 17:01:28 +00:00
  • 168532ae8d Add runtime.print_strings gingerBill 2020-12-08 17:01:06 +00:00
  • d7a5767aa3 If ir_type_requires_mem_zero is stored with zero, don't store again with the zeroinitializer gingerBill 2020-12-08 15:43:57 +00:00
  • 15bf57e4e1 Fix typo gingerBill 2020-12-08 15:03:46 +00:00
  • 83cd2473f2 Improve rules for zeroing types with the ir.cpp backend with ir_type_requires_mem_zero gingerBill 2020-12-08 15:00:07 +00:00
  • 510d1f2518 Add docs to text/scanner gingerBill 2020-12-07 12:43:28 +00:00
  • 7b55068b04 Unify peek_n with peek and renamescan_peek_n to peek_token gingerBill 2020-12-07 12:13:41 +00:00
  • b9aa94ee0d Add scan_peek_n to package text/scanner #800 gingerBill 2020-12-07 11:30:54 +00:00
  • 96d8971d87 Add peek_n to package text/scanner gingerBill 2020-12-07 10:55:27 +00:00
  • 98c8fde098 Remove unused tokens gingerBill 2020-12-06 13:17:48 +00:00
  • 1ac84b09a1 Add comments to ast.walk related entities gingerBill 2020-12-06 13:04:11 +00:00
  • 21d8562923 Add ast.walk and ast.inspect gingerBill 2020-12-06 12:59:26 +00:00
  • c8360f4fff Update ast.clone gingerBill 2020-12-06 12:08:44 +00:00
  • fe7e4e88c6 Merge pull request #797 from Tetralux/improve-string-parsing gingerBill 2020-12-06 11:43:04 +00:00
  • c06528d702 Improve number parsing procedures Tetralux 2020-12-04 20:17:11 +00:00
  • ea60db9f53 Add inline asm expression to odin/parser gingerBill 2020-12-06 01:14:55 +00:00
  • dff4c6b666 Clean up logic gingerBill 2020-12-06 00:59:23 +00:00
  • 0e9b357a5d Fix typo gingerBill 2020-12-06 00:55:31 +00:00
  • 1eb1bffd89 Merge pull request #799 from odin-lang/parser-experiments gingerBill 2020-12-06 00:53:52 +00:00
  • e8653ac47e Update main.cpp gingerBill 2020-12-06 00:51:32 +00:00
  • f0683c9102 Merge branch 'master' into parser-experiments gingerBill 2020-12-06 00:49:48 +00:00
  • ca4657fd31 Add custom semicolon insertion to odin/tokenizer and odin/parser gingerBill 2020-12-06 00:47:58 +00:00
  • d94414b0f4 Correct ternary if/when parsing gingerBill 2020-12-06 00:15:35 +00:00
  • 80fead1de5 Add ast.Selector_Expr_Call gingerBill 2020-12-06 00:03:45 +00:00
  • 069c6cac3f Add package name and source code location to Type_Info_Named gingerBill 2020-12-05 20:47:50 +00:00
  • 1a8ea6113a Remove hash field in runtime.Source_Code_Location gingerBill 2020-12-05 19:52:08 +00:00
  • 76e6624dbb Remove type name generation for procedures in ir.cpp gingerBill 2020-12-05 19:21:00 +00:00
  • 09a52b7ee6 Fix typos gingerBill 2020-12-05 16:56:09 +00:00
  • 7b36174c17 Fix formatting gingerBill 2020-12-05 16:38:26 +00:00
  • a82c902f99 Minor correction to bytes.Buffer's vtable gingerBill 2020-12-05 15:36:02 +00:00
  • 14ae2e0a8d Add bufio.Writer and bufio.Read_Writer gingerBill 2020-12-05 15:14:21 +00:00
  • 2ab6cdb98e Add package bufio; add bufio.Reader gingerBill 2020-12-05 12:03:57 +00:00
  • 21c1abe15a Add fmt formatting for runtime.Source_Code_Location gingerBill 2020-12-05 12:03:38 +00:00
  • 4c41045133 Fix typo in package io gingerBill 2020-12-05 12:03:07 +00:00
  • 0ed1300bd6 Make bytes.Reader and strings.Reader have the same interface gingerBill 2020-12-04 21:25:13 +00:00
  • dd63665b58 Update bytes.Reader gingerBill 2020-12-04 20:33:14 +00:00
  • 9b22583397 Add bytes.Buffer gingerBill 2020-12-04 20:18:41 +00:00
  • 63f2480951 Begin work on package bytes ([]byte equivalent of package strings) gingerBill 2020-12-04 19:16:40 +00:00
  • edbb3e3b32 Fix typos gingerBill 2020-12-04 18:53:17 +00:00
  • ecf324e213 Remove buffered type gingerBill 2020-12-04 18:50:30 +00:00
  • 7268c80d64 Add strings.fields and strings.fields_proc gingerBill 2020-12-04 18:50:05 +00:00
  • fd453be831 Deprecate opaque in favour of #opaque in the core library gingerBill 2020-12-04 18:49:39 +00:00
  • 2a232f2397 Remove the (reserved) keyword macro gingerBill 2020-12-04 16:14:11 +00:00
  • c4cb7170ee Deprecate keyword opaque in favour of #opaque gingerBill 2020-12-04 16:13:05 +00:00
  • b6bbe29c8f Remove const as a (reserved) keyword gingerBill 2020-12-04 16:04:58 +00:00
  • 5d0db4c63a Clean up fmt usage with io.Writer and strings.Builder gingerBill 2020-12-04 15:04:54 +00:00
  • 05a3bdad58 Allow nested procedures to access @(static) and @(thread_local) variables gingerBill 2020-12-04 11:28:14 +00:00
  • 0ef02e6737 Improve packages io and strings; add io.Section_Reader gingerBill 2020-12-03 15:57:46 +00:00
  • 047586afc6 Change ExactValue layout for complex/quaternion types to minimize its size gingerBill 2020-12-03 14:21:33 +00:00
  • 5acdcfb57c Keep -vet happy gingerBill 2020-12-03 13:26:33 +00:00
  • 6e04b1c429 Remove using stream on custom stream types in package io gingerBill 2020-12-03 13:23:36 +00:00
  • 828fe2ce56 Fix #795 gingerBill 2020-12-03 12:25:45 +00:00
  • 18da0b3418 Integrate package io into core library gingerBill 2020-12-03 10:45:26 +00:00
  • 334a8c46e8 Fix io typos gingerBill 2020-12-03 00:27:21 +00:00
  • e0fb081cbd Keep -vet happy gingerBill 2020-12-02 23:46:41 +00:00
  • bca28e94ec Keep fmt happy gingerBill 2020-12-02 23:43:28 +00:00
  • 875415daa9 Make os._file_stream_vtable private gingerBill 2020-12-02 23:40:23 +00:00
  • 0cf3ae93c0 Add os.stream_from_handle; fix io.close gingerBill 2020-12-02 23:39:33 +00:00
  • c4172e3914 Rename stream field names gingerBill 2020-12-02 23:17:21 +00:00
  • 8e08ae47fb Add strings.Reader gingerBill 2020-12-02 23:12:43 +00:00
  • d9343ae997 Add package io gingerBill 2020-12-02 23:12:14 +00:00
  • 4d30b88927 Fix typos gingerBill 2020-12-02 23:11:46 +00:00
  • 7389ffba6d Fix -llvm-api const initialization of &T{} gingerBill 2020-12-02 21:07:15 +00:00
  • a6301ab58a Add type_assertion_check2 gingerBill 2020-12-02 11:50:57 +00:00
  • 996c854071 Disable lb_const_hash for the time being gingerBill 2020-12-02 11:48:50 +00:00
  • a9c1811027 Fix typo gingerBill 2020-12-02 10:41:18 +00:00
  • 32b1537aa3 Fix xor for constant booleans gingerBill 2020-12-02 10:39:59 +00:00
  • 2d0c0a7a83 Fix typo gingerBill 2020-12-01 15:38:15 +00:00
  • 400816ebf7 Fix Pointer store in LLVM backend gingerBill 2020-12-01 00:40:54 +00:00
  • ef417017f0 Fix typo gingerBill 2020-11-30 19:46:41 +00:00
  • 7c1c9d22b4 Fix thread.run_with_poly_data* gingerBill 2020-11-30 19:44:43 +00:00
  • 5803fcc158 Revert function passes gingerBill 2020-11-29 20:41:01 +00:00
  • f4f2b8f5ad Add _internal field to context gingerBill 2020-11-29 18:42:13 +00:00
  • dd4f8e9747 Improve default pass manager for -llvm-api gingerBill 2020-11-29 18:32:49 +00:00
  • f06f33872c Make 16 simple hasher cases for small types gingerBill 2020-11-29 18:17:21 +00:00
  • 9e13416312 Simplify simple compare hasher code gingerBill 2020-11-29 17:58:54 +00:00
  • 5ab7ec5b16 Support any comparable type for map keys gingerBill 2020-11-29 16:37:19 +00:00
  • b922398a96 Sanity check for map key gingerBill 2020-11-29 16:13:16 +00:00
  • 57f5976ac1 Support map keys for simple compare types gingerBill 2020-11-29 16:12:21 +00:00
  • 7fbc081119 Improve const hash gingerBill 2020-11-29 16:03:21 +00:00
  • 1dfe0cdd1d Simplify hashing approach map gingerBill 2020-11-29 15:50:29 +00:00
  • 97c66c9c73 Add intrinsics.type_hasher_proc; Make map work with generic hasher procedure gingerBill 2020-11-29 15:27:53 +00:00
  • 085972bb2c Minor clean up gingerBill 2020-11-29 14:31:42 +00:00
  • 39bed567b3 Add intrinsics.type_equal_proc; Make map use an internal equal procedure to compare keys gingerBill 2020-11-29 14:22:42 +00:00
  • 2e0fd34e59 Keep -vet happy gingerBill 2020-11-29 12:52:30 +00:00
  • 9959a069fc Simplify internals of map[K]V gingerBill 2020-11-29 12:48:33 +00:00
  • c77098a91c Fix for in enum type gingerBill 2020-11-26 10:19:45 +00:00
  • 89cceb910a Keep -vet happy gingerBill 2020-11-26 00:09:38 +00:00
  • f36c5de746 Fix typo gingerBill 2020-11-26 00:05:15 +00:00
  • ca10248740 Add __dynamic_map_fix_keys gingerBill 2020-11-25 23:50:25 +00:00
  • aa859c2187 Clean up and fix __dynamic_map_erase gingerBill 2020-11-25 22:36:34 +00:00
  • 8591655334 Clean up __dynamic_map_rehash behaviour gingerBill 2020-11-25 21:03:20 +00:00