forked from alex-eg/sex
still mess, probably obsolete anyways
This commit is contained in:
8
example/begin.sex
Normal file
8
example/begin.sex
Normal file
@@ -0,0 +1,8 @@
|
||||
(pub fn void other-fn ()
|
||||
(begin (while true (begin 1 2 3 4)))
|
||||
(switch a
|
||||
((1) (begin
|
||||
(var (const char *) str "121232132")
|
||||
(puts "str")))
|
||||
((2) (puts "2"))
|
||||
(default (puts "more"))))
|
||||
Reference in New Issue
Block a user