Ginger Bill
66e4aaffc5
Use semicolons as field delimiters in records
2017-07-10 13:49:50 +01:00
Ginger Bill
69f7382eec
Implicit parametric polymorphic procedures
2017-06-29 20:56:18 +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
a8e458339b
foreign_library allow for Pascal-style grouping
2017-06-12 16:26:51 +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
d3f63e5903
Change label syntax for for and match from #label name to name:
2017-05-28 15:01:39 +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
ded99a2cab
Fix issue with os.file_size on *nix
2017-05-12 10:29:55 +01:00
Ginger Bill
45eecc0905
Reimplement #ordered again
2017-05-12 10:27:14 +01:00
Ginger Bill
789b297f32
Add hidden __tag for union variables.
2017-05-04 20:34:50 +01:00
Ginger Bill
cc6282a6e3
Fix alignment and size bug of enums; Remove #ordered and make the default #ordered.
2017-05-02 21:16:09 +01:00
Ginger Bill
7057034b75
v0.2.0
2017-04-30 16:28:13 +01:00
Zachary Pierson
6b33b254e9
Merged from upstream, fixed 'args' name colission
2017-04-06 18:14:42 -05:00
Zachary Pierson
63345cd0d8
Bridged a bugfix from os_windows to other os's.
2017-04-04 18:51:36 -05:00
Zachary Pierson
c9c82da1f3
It's terrible, but I added _some_ form of launch args support for Linux/macOS
2017-04-02 18:42:58 -05:00
Zachary Pierson
3315dc7f25
Literally just a commit to revert a previous one.
2017-03-31 05:30:09 -05:00
Zac Pierson
e935f8e2ff
Fixed os_linux and os_x read_entire_file function not null-terminating data.
2017-03-21 16:00:11 -05:00
Zac Pierson
690c682847
Remember kids, always test your code. There was a variable name colission in dlsym D:
2017-03-21 14:57:09 -05:00
Zac Pierson
f541dd40db
Fixed some memory leaks and made os_* use strings.odin
2017-03-21 14:54:29 -05:00
Zac Pierson
20b9f1ff59
Added getenv to the *nix stdlib.
2017-02-23 15:29:41 -06:00
Zachary Pierson
9d19ee7e4c
Changed standard libraries for MacOS and Linux to be closer to os_windows.
2017-02-12 18:25:58 -06:00
Zachary Pierson
3f3122bccc
Temporary fix for an Odin bug.
2017-02-11 18:54:54 -06:00
Zachary Pierson
fc1a006de1
Added support for reading files on MacOS and Linux
2017-02-11 17:24:47 -06:00
Zachary Pierson
754b368140
Added dynamic library loading to Linux and MacOS's standard libraries.
2017-02-11 15:09:53 -06:00
Ginger Bill
205f4664f8
Update code from OSX merge to be consistent with the rest of the code
...
Remove some dead code whilst I was here too :P
2017-02-01 20:59:14 +00:00
zhiayang
864310e3da
oh boy, basic osx/unix support
2017-02-02 04:20:33 +08:00