mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Update README.md with latest demo
This commit is contained in:
@@ -19,6 +19,8 @@ The Odin programming language is fast, concise, readable, pragmatic and open sou
|
|||||||
* [Introspection, Modules, and Record Layout](https://www.youtube.com/watch?v=UFq8rhWhx4s)
|
* [Introspection, Modules, and Record Layout](https://www.youtube.com/watch?v=UFq8rhWhx4s)
|
||||||
* [push_allocator & Minimal Dependency Building](https://www.youtube.com/watch?v=f_LGVOAMb78)
|
* [push_allocator & Minimal Dependency Building](https://www.youtube.com/watch?v=f_LGVOAMb78)
|
||||||
* [when, for, & procedure overloading](https://www.youtube.com/watch?v=OzeOekzyZK8)
|
* [when, for, & procedure overloading](https://www.youtube.com/watch?v=OzeOekzyZK8)
|
||||||
|
* [when, for, & procedure overloading](https://www.youtube.com/watch?v=OzeOekzyZK8)
|
||||||
|
* [Context Types, Unexported Entities, Labelled Branches](https://www.youtube.com/watch?v=CkHVwT1Qk-g)
|
||||||
|
|
||||||
## Requirements to build and run
|
## Requirements to build and run
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
set exe_name=odin.exe
|
set exe_name=odin.exe
|
||||||
|
|
||||||
:: Debug = 0, Release = 1
|
:: Debug = 0, Release = 1
|
||||||
set release_mode=0
|
set release_mode=1
|
||||||
set compiler_flags= -nologo -Oi -TC -fp:fast -fp:except- -Gm- -MP -FC -GS- -EHsc- -GR-
|
set compiler_flags= -nologo -Oi -TC -fp:fast -fp:except- -Gm- -MP -FC -GS- -EHsc- -GR-
|
||||||
|
|
||||||
if %release_mode% EQU 0 ( rem Debug
|
if %release_mode% EQU 0 ( rem Debug
|
||||||
|
|||||||
+2
-2
@@ -3204,8 +3204,8 @@ bool check_builtin_procedure(Checker *c, Operand *operand, AstNode *call, i32 id
|
|||||||
} break;
|
} break;
|
||||||
#endif
|
#endif
|
||||||
case BuiltinProc_make: {
|
case BuiltinProc_make: {
|
||||||
// make :: proc(Type, len: int) -> []Type
|
// make :: proc(Type, len: int) -> Type
|
||||||
// make :: proc(Type, len, cap: int) -> []Type
|
// make :: proc(Type, len, cap: int) -> Type
|
||||||
Operand op = {0};
|
Operand op = {0};
|
||||||
check_expr_or_type(c, &op, ce->args.e[0]);
|
check_expr_or_type(c, &op, ce->args.e[0]);
|
||||||
Type *type = op.type;
|
Type *type = op.type;
|
||||||
|
|||||||
Reference in New Issue
Block a user