gingerBill
0b137e087c
Fix mem.odin #173
2018-01-12 11:44:09 +00:00
gingerBill
f0de994059
Make core library use procedure groupings rather than normal overloading
2017-12-04 22:01:51 +00:00
gingerBill
1a75dfe075
Remove vector type (will be replaced by something else in the future)
2017-11-30 20:34:42 +00:00
gingerBill
74fa7ca25d
New slice memory layout (ptr+len); byte
2017-11-26 18:36:46 +00:00
gingerBill
b651466630
Add ptr_to_bytes
2017-11-16 19:01:57 +00:00
gingerBill
9bd8bdaa5a
Disable all cyclic importations
2017-11-13 23:53:01 +00:00
gingerBill
e5c39fb2a9
Fix opening file without close; Minor fixes
2017-11-09 22:58:44 +00:00
gingerBill
eb4b3f5976
Change push allocator system; update core libraries
2017-11-09 22:48:00 +00:00
gingerBill
0ffcccdae5
Add Source_Code_Location parameter Allocator_Proc ( #138 )
2017-11-08 22:05:51 +00:00
gingerBill
6bc5584add
Fix fmt printing uintptr type
2017-11-04 00:16:54 +00:00
gingerBill
d2588f9d1d
Infix proc calling convention proc "std" (...)
2017-10-29 16:44:44 +00:00
gingerBill
1eb9994d88
Attributes; @(link_name="foo")
2017-10-29 15:46:23 +00:00
Ginger Bill
5eaa8de8f9
Fix issue with #118
2017-10-12 21:01:16 +01:00
Ginger Bill
c1e720a49b
match to switch; Optional semicolons after "import" statements
2017-10-01 17:09:57 +01:00
Ginger Bill
c43d66c286
Use comma for struct field separators (disallow nesting)
2017-09-21 23:18:28 +01:00
Ginger Bill
d2c1c719bd
Fix file load order and allow when statements at file scope
2017-09-20 20:38:32 +01:00
Ginger Bill
8e3b77aba8
Library collections
2017-09-07 20:55:59 +01:00
Ginger Bill
b9e347ef50
Replace import_load with using import .
2017-08-27 17:03:27 +01:00
Ginger Bill
1161aa829d
Fix mem.Arena
2017-08-13 22:20:44 +01:00
Ginger Bill
49d337c830
v0.6.2; Use Ada_Case for types
2017-08-03 21:21:56 +01:00
Ginger Bill
dbddec33c8
Internal changes; thread.odin for windows only
2017-07-20 23:57:56 +01:00
Ginger Bill
6d37ed12d2
Update internals of a Union and Tuple
2017-07-20 15:17:04 +01:00
Ginger Bill
65f079ebc4
Remove atomic, ++, and --
2017-07-18 18:58:41 +01:00
Ginger Bill
b8697fb4ed
Change precedence order for types e.g. ^T(x) == ^(T(x))
2017-07-13 16:20:07 +01:00
Ginger Bill
3868a9a0f0
Clean up _preload.odin types
2017-07-10 23:15:41 +01:00
Ginger Bill
fd8c4d58bb
union type allow for any types and removes common fields
2017-07-10 22:32:21 +01:00
Ginger Bill
66e4aaffc5
Use semicolons as field delimiters in records
2017-07-10 13:49:50 +01:00
Ginger Bill
4b051a0d3b
.. half closed range; ... open range; ... variadic syntax
2017-07-07 23:42:43 +01:00
Ginger Bill
eed873c6ec
Add free for maps (a previous oversight)
2017-07-05 13:51:25 +01:00
Ginger Bill
bc16b290ba
Disable polymorphic overloading in the global scope
...
TODO: Figure out why it does not work in the global scope
2017-07-02 22:08:39 +01:00
Ginger Bill
94afcec757
:: style procedure declarations; remove old parsing code
2017-06-28 23:47:06 +01:00
Ginger Bill
4f28e9e1fb
Remove type prefix declarations
2017-06-28 23:23:10 +01:00
Ginger Bill
0622509807
Disable var and const declarations
2017-06-28 23:17:20 +01:00
Ginger Bill
2deb2f8eeb
Declaration grouping uses () rather than {}; Fix some problem with compilation on *nix
2017-06-17 12:01:53 +01:00
Ginger Bill
6a88dc322a
Declaration grouping uses braces rather than parentheses
2017-06-13 15:04:23 +01:00
Ginger Bill
ccda456c0a
foreign blocks for procedures
2017-06-12 21:21:18 +01:00
Ginger Bill
83bad13e9e
Update default field value syntax; Use more declaration groupings
2017-06-12 18:38:27 +01:00
Ginger Bill
6b5e9aec8e
Pascal style declaration grouping with ()
2017-06-12 15:42:21 +01:00
Ginger Bill
2ab0d97573
import and import_load as keywords; Fix procedure literal call trick
2017-06-12 14:19:12 +01:00
Ginger Bill
0c05fc1432
Prefix type and let to replace immutable
2017-06-12 12:56:47 +01:00
Ginger Bill
33eeb58521
Prefix proc syntax
2017-06-12 12:34:55 +01:00
Ginger Bill
8fafdb185c
Remove := with var and :: with const
2017-06-12 11:48:12 +01:00
Ginger Bill
f60c772c11
Make rune a basic type and not an alias; Remove byte
2017-06-06 23:54:33 +01:00
Ginger Bill
80c034ec7c
Change naming convention from Ada_Like to RustLike
...
Naming Conventions:
In general, PascalCase for types and snake_case for values
Import Name: snake_case (but prefer single word)
Types: PascalCase
Union Variants: PascalCase
Enum Values: PascalCase
Procedures: snake_case
Local Variables: snake_case
Constant Variables: SCREAMING_SNAKE_CASE
2017-05-28 14:47:11 +01:00
Ginger Bill
784f3ecf7e
Syntax change: cast(T)x => T(x); union_cast(T)x => x.(T); transmute(T)x => transmute(T, x); y:=^x => y:=&x;
...
Sorry for all the code breaking in this commit :(
2017-04-30 15:09:36 +01:00
Ginger Bill
a713e33007
Change interval syntax: .. open range, ..< half-closed range
2017-04-20 23:22:45 +01:00
Ginger Bill
8ce58573df
len, cap, make; remove .count, .capacity, new_slice
2017-04-02 18:16:45 +01:00
Ginger Bill
e2734a2dc6
Begin work on the custom backend
2017-03-05 21:22:33 +00:00
Ginger Bill
3c9143957c
Ellipsis is now just ..; Remove half-closed range operator and treat all of them as half-closed; slice expression uses ..;
2017-02-26 14:19:03 +00:00
Ginger Bill
c59f6b7d0b
++ -- statements; add strconv.odin (and replace some of the fmt procs); Fix ~ on 64 bit constants; Fix integer casts from smaller to larger size
2017-02-26 00:44:26 +00:00