From e1b711b3b3476ecde0ed7e64e65fe4314a702b61 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 6 Oct 2019 15:07:16 +0100 Subject: [PATCH] Update demo.odin with more information --- examples/demo/demo.odin | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index 9554eaa2e..eec7da45a 100644 --- a/examples/demo/demo.odin +++ b/examples/demo/demo.odin @@ -10,6 +10,24 @@ when os.OS == "windows" { import "core:thread" } +/* + The Odin programming language is fast, concise, readable, pragmatic and open sourced. It is designed with the intent of replacing C with the following goals: + * simplicity + * high performance + * built for modern systems + * joy of programming + + # Installing Odin + Getting Started - https://odin-lang.org/docs/install/ + Instructions for downloading and install the Odin compiler and libraries. + + # Learning Odin + Overview of Odin - https://odin-lang.org/docs/overview/ + An overview of the Odin programming language. + Frequently Asked Questions (FAQ) - https://odin-lang.org/docs/faq/ + Answers to common questions about Odin. +*/ + @(link_name="general_stuff") general_stuff :: proc() { fmt.println("# general_stuff"); @@ -38,8 +56,6 @@ general_stuff :: proc() { _ = (^f32)(ptr)^; _ = (cast(^f32)ptr)^; - - // Questions: Should there be two ways to do it? } /*