dao
                                
                                
                                
                                    dao copied to clipboard
                            
                            
                            
                        Dao Programming Language
``` ruby (dao) load net.http = none (dao) routine f(...: tuple as args){ ..... http.initRequest('GET', 'some', args, ...) ..... } [[ERROR]] in file "interactive codes": At line 1 : Invalid...
Hello! Obviously, in it's current state, this fails quite badly: ``` [email protected] ~/W/G/d/out $ gcc ../kernel/*.c -o dao ../kernel/daoPlatform.c:101:2: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration]...
``` (dao) tup2 = ( cb = routine() {}, 'abc' ) [[ERROR]] in file "interactive codes": At line 0 : Invalid function definition --- " __main__() "; At line 1...
I was trying to find out how I could compile an all-static binary, but it doesnt load `stream` now... ``` [email protected] ~/W/G/d/out $ gcc ../kernel/*.c -o dao -DBSD -DUNIX -DMACOSX...
Hello! Now, I know that Dao already has module support - be it via the `load` statement or it's numerous embedding APIs that make modularization really easy. But unfortunately, I...
``` ruby (dao) load stream = none (dao) f = io.open('.', 'r') = FileStream[0x1210920] ```
I can only recommend watching the **whole** keynote from Russ Cox (Go programming language) describing how to (not) do versioning in a programming language ecosystem. It's full of real live...
Might be of interest for some use-cases in Dao or somewhere else: https://github.com/patmorin/arraylayout (spoiler: `eytzinger` won).
I noticed, that [WebAssembly](http://webassembly.org/ ) matured about a month ago and therefore I'm proposing adding `WebAssembly` (wasm) as a target platform alongside `linux, macosx, freebsd, openbsd, mingw, minix, haiku`. It...
Recently I stumbled upon a feature of GCC/Clang which allows to mark functions to pass their first two arguments in registers (fastcall) or optimize memory copying/alignment etc. This is usefull...