Commit Graph

4001 Commits

Author SHA1 Message Date
Luka Aleksić
92e23ec397 * Add some procedures to path_unix to mirror the path_windows API
* Add files stat_linux and dir_linux to mirror the stat/dir_windows API
* Add helper functions to os_linux that are used by the above
2021-01-21 20:20:38 +01:00
gingerBill
773be83cad Merge pull request #835 from laleksic/master
Tracking allocator now tracks bad free calls
2021-01-21 16:09:20 +00:00
Luka Aleksić
00ebc877a1 Tracking allocator now tracks bad free calls 2021-01-21 00:19:56 +01:00
DanielGavin
3224869c29 handle expr is null in parse_binary_expr 2021-01-20 16:10:16 +01:00
gingerBill
3bcccf88d5 vet all core packages 2021-01-09 23:43:34 +00:00
gingerBill
9e8c46b8de Add time.Tick for performance related timings 2021-01-09 01:08:16 +00:00
gingerBill
fba4bfb2d5 Minor cleanup of slice/slice.odin code 2021-01-09 00:40:30 +00:00
gingerBill
79432be784 Add the mini ginger* hashes to package hash 2021-01-09 00:33:34 +00:00
gingerBill
56980e51da Update package io 2021-01-09 00:30:10 +00:00
gingerBill
37253f2621 Add encoding/csv Writer 2021-01-09 00:21:47 +00:00
gingerBill
da380d6fc4 Add encoding/csv Reader 2021-01-08 23:24:35 +00:00
gingerBill
bf183b2c2c Update c/frontend/preprocessor 2021-01-06 11:22:15 +00:00
gingerBill
a07d199a48 Add slice.map_keys, slice.map_values, slice.map_entries, slice.map_entry_infos 2021-01-06 11:21:22 +00:00
gingerBill
60fe3c9ec6 Remove unused import from doc.odin 2021-01-02 16:50:24 +00:00
gingerBill
a6ce417a35 Clean up doc.odin 2021-01-02 16:44:32 +00:00
gingerBill
6523aefdcc Merge branch 'master' of https://github.com/odin-lang/Odin 2021-01-02 16:36:51 +00:00
gingerBill
31c4a9d770 Add packages "core:c/frontend/tokenizer" and "core:c/frontend/preprocessor" 2021-01-02 16:36:43 +00:00
kennethmaples
6d5bd8bead Fix layout of Stat for linux and make usage consistent across unix variants 2020-12-29 17:45:19 +08:00
gingerBill
98ad912509 Fix typo 2020-12-27 16:16:04 +00:00
gingerBill
e6dfc22b8a Add bytes.buffer_write_to and bytes.buffer_read_from 2020-12-17 00:47:05 +00:00
gingerBill
1470cab842 Make bytes.odin consistent with strings.odin in functionality 2020-12-17 00:36:25 +00:00
gingerBill
a31b992d2b Rename bytes/strings.odin to bytes/bytes.odin 2020-12-17 00:25:05 +00:00
gingerBill
5faa560f82 Make container.Map have similar semantics to the built-in map type 2020-12-15 23:23:07 +00:00
gingerBill
6c2b93d519 Improve text/scanner whitespace parameter to use a bit_set instead; Improve error message for for x in y where y is not iterable but allows in as an operator 2020-12-15 22:28:40 +00:00
gingerBill
2957da538d Add strings.Intern 2020-12-15 22:07:53 +00:00
gingerBill
cbd4aa5392 Remove unused constant 2020-12-14 17:40:57 +00:00
gingerBill
1d333fedaa Support %i as an alternative to %d 2020-12-14 17:00:29 +00:00
gingerBill
82d63306c4 Fix enumerated array index printing bug #808 2020-12-14 16:55:19 +00:00
gingerBill
f6e2d74d10 Keep -vet happy 2020-12-14 14:36:45 +00:00
gingerBill
aa2562fe7c Replace procedure call 2020-12-14 14:33:32 +00:00
gingerBill
c17d17a9b4 Remove unused procedure 2020-12-14 14:32:34 +00:00
gingerBill
404c9e40ee Update io/util.odin 2020-12-14 14:31:18 +00:00
gingerBill
34788bfced Merge branch 'master' of https://github.com/odin-lang/Odin 2020-12-13 17:09:47 +00:00
gingerBill
cffbd2d276 Add odin/parser/parse_files.odin 2020-12-13 17:09:41 +00:00
Oskar Nordquist
60b9ef1f5d Fix math.factorial() 2020-12-13 02:36:29 +01:00
gingerBill
f64584b92a Improve -insert-semicolon rules 2020-12-09 23:40:45 +00:00
gingerBill
9eb12889f4 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-12-09 23:35:14 +00:00
gingerBill
6f6a3f2ccf Fix typos for -insert-semicolon 2020-12-09 23:35:08 +00:00
DanielGavin
934809397f small fixes to the parser 2020-12-09 21:33:10 +01:00
gingerBill
b6aa549eb8 Fix typo 2020-12-08 17:01:28 +00:00
gingerBill
168532ae8d Add runtime.print_strings 2020-12-08 17:01:06 +00:00
gingerBill
510d1f2518 Add docs to text/scanner 2020-12-07 12:43:28 +00:00
gingerBill
7b55068b04 Unify peek_n with peek and renamescan_peek_n to peek_token 2020-12-07 12:13:41 +00:00
gingerBill
b9aa94ee0d Add scan_peek_n to package text/scanner #800 2020-12-07 11:30:54 +00:00
gingerBill
96d8971d87 Add peek_n to package text/scanner 2020-12-07 10:55:27 +00:00
gingerBill
98c8fde098 Remove unused tokens 2020-12-06 13:17:48 +00:00
gingerBill
1ac84b09a1 Add comments to ast.walk related entities 2020-12-06 13:04:11 +00:00
gingerBill
21d8562923 Add ast.walk and ast.inspect 2020-12-06 12:59:26 +00:00
gingerBill
c8360f4fff Update ast.clone 2020-12-06 12:08:44 +00:00
Tetralux
c06528d702 Improve number parsing procedures
- No longer returns true for partial string parsing.
  All characters in the string must be part of the number.
  i.e: parse_int("2.345") no longer returns (2, true) - it now returns (2, false)

- Return (0, false) on empty strings.
2020-12-06 11:39:03 +00:00