gingerBill
6bc5584add
Fix fmt printing uintptr type
2017-11-04 00:16:54 +00:00
gingerBill
121f0185d6
Custom thread local models
2017-11-03 23:46:42 +00:00
gingerBill
3e05be8eb8
@(default_calling_convention = ...) for foreign blocks
2017-10-29 18:09:05 +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
gingerBill
a43b89f36e
#alias type declarations; core library additions; _global import name for the global scope
2017-10-29 11:35:21 +00:00
gingerBill
85f7c2d040
Change foreign_library to foreign import
2017-10-15 15:21:56 +01:00
gingerBill
26ea8f6dcb
Syntax: Replace foreign_system_library "kernel.lib" to foreign_library "system:kernel.lib"; Remove keyword: foreign_system_library
2017-10-15 12:11:33 +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
cbcf4b6071
Fix issue #94
2017-09-11 22:49:26 +01:00
Ginger Bill
e6e0aba8c3
Remove when suffixes; Implement file scope when statement, evaluated in source order
2017-09-10 15:17:37 +01:00
Ginger Bill
8e3b77aba8
Library collections
2017-09-07 20:55:59 +01:00
Ginger Bill
2d20bde495
Remove () grouping for foreign_library
2017-08-27 19:24:30 +01:00
Ginger Bill
b9e347ef50
Replace import_load with using import .
2017-08-27 17:03:27 +01:00
Ginger Bill
49d337c830
v0.6.2; Use Ada_Case for types
2017-08-03 21:21:56 +01:00
Ginger Bill
66e4aaffc5
Use semicolons as field delimiters in records
2017-07-10 13:49:50 +01:00
Ginger Bill
b201670f7a
Fix _preload.odin; Add for in without parameters; Change sync.Mutex for windows
2017-07-08 23:13:57 +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
35c102137f
Compiler compiles for x86 (doesn't work properly)
2017-06-19 18:49:11 +01:00
Ginger Bill
5427d14416
Code will compile as 32 bit but will causes errors in the linker on Windows
2017-06-19 15:55:09 +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
a8e458339b
foreign_library allow for Pascal-style grouping
2017-06-12 16:26:51 +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
Mikkel Hjortshoej
8e32276283
Added a bunch of VM_* and map_virtual_key
2017-06-11 19:46:55 +02:00
Ginger Bill
f60c772c11
Make rune a basic type and not an alias; Remove byte
2017-06-06 23:54:33 +01:00
Mikkel Hjortshoej
e0b9c4a275
Added extra sys/windows.odin stuff
...
- Added PM_NOREMOVE
- Added PM_NOYIELD
- Added get_message_a
- Added post_message_a
2017-06-01 00:05:33 +02:00
Ginger Bill
826e05c96e
Convert windows.odin to the new naming convention
2017-05-28 16:08:29 +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
45eecc0905
Reimplement #ordered again
2017-05-12 10:27:14 +01:00
Mikkel Hjortshoej
c7f7e562a0
Add following win32 functions
...
- ShowCursor
- GetFileAttributesA
- FindFirstFileA
- FindNextFileA
- FindClose
Add following win32 constants
- MAX_PATH
- INVALID_FILE_ATTRIBUTES
Add following win32 structure
- Find_Data
2017-05-05 20:32:48 +02:00
Mikkel Hjortshoej
a317237404
Fix casing on FILE_ATTRIBUTE_DIRECTORY
2017-05-05 20:22:18 +02: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
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
d8d22e34dd
Fix fmt for type; remove dead stuff
2017-04-13 19:29:17 +01:00
Ginger Bill
5916e71d4f
Fix slicing bug on dynamic arrays
2017-04-11 16:00:49 +01:00
Zachary Pierson
f952c7c747
Merge https://github.com/gingerBill/Odin
2017-04-03 00:08:00 -05:00
Ginger Bill
382a5ca6a2
Update and regression test old demos
2017-04-02 22:03:52 +01:00
Zac Pierson
c7bb861d3c
Merge https://github.com/gingerBill/Odin
...
"Fixed" a proc overload bug. Still needs a *real* fix.
2017-03-21 14:16:42 -05:00
Ginger Bill
32150e401e
Update gb.h
2017-03-17 12:30:59 +00:00
Ginger Bill
aaec8bf423
windows.odin TYPE_NAME to Type_Name; More SSA work and SSA printing for debugging
2017-03-12 16:42:51 +00:00