Add basic sketch of needed core components for hello world.
This commit is contained in:
parent
1a3e48fddf
commit
db83cb7403
5
dm_std_lib/std/core/array.dm
Normal file
5
dm_std_lib/std/core/array.dm
Normal file
@ -0,0 +1,5 @@
|
||||
ns std::core
|
||||
|
||||
pub int Array<T>
|
||||
|
||||
impl ConstantByteArray(fld raw_address: USize, fld raw_size: USize) : Array<Byte>
|
5
dm_std_lib/std/core/string.dm
Normal file
5
dm_std_lib/std/core/string.dm
Normal file
@ -0,0 +1,5 @@
|
||||
ns std::core
|
||||
|
||||
pub int String
|
||||
|
||||
impl StringImpl(fld bytes: Array<Byte>) : String
|
1
sketching/hello_world.dm
Normal file
1
sketching/hello_world.dm
Normal file
@ -0,0 +1 @@
|
||||
println "Hello, World!"
|
Loading…
Reference in New Issue
Block a user