class Hello {
function : Main(args : String[]) ~ Nil {
hiya := Collection.Vector->New()<String>
hiya->AddBack("Hello World")
hiya->AddBack("Καλημέρα κόσμε")
hiya->AddBack("こんにちは 世界")
hiya->Each(\^(h) => h->PrintLine())
}
}
More Rosetta Code examples
- Object-oriented
- Functional
- Unicode
- OS support
- Garbage collection
- JIT compilation
- LSP support
- Documentation
VS Code | Debugger | Dungeon Crawler | Platformer | Windows Utility |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
- HTTPS and HTTP server and client APIs
- JSON, XML and CSV parsers
- Regular expression library
- Encryption and hashing
- In memory query framework with SQL-like syntax
- Database access
- 2D Gaming framework via SDL2
- Collections (caches, vectors, queues, trees, hashes, etc.)
- GTK windowing support (work-in-progress)