diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -6,6 +6,15 @@ Amalgam is not meant to be a replacement for any other language but rather a new with gpu without writing an external gpu program (glsl/hlsl). Files have to be in utf-8 format and can optionally have utf-8 BOM. +## Example +Hello world example: +``` +const io = @import("std/io.amal"); + +const main = fn { + io.stdout.write("hello, world!\n"); +} +``` ## Important Amalgam is not ready to be used yet. # Fast compilation |