-
Notifications
You must be signed in to change notification settings - Fork 554
Cookbook
Camilo edited this page Aug 21, 2021
·
13 revisions
Have you created a small Wren script or wrote a tutorial using Wren? If so, we'd love to know. Edit this page and add it!
- 1,000,000 Fibers vs 1,000,000 Elixir/Erlang processes - a comparison
- MapToObject - Converts a Map to an Object instance.
- Wren Rosetta - Lots of Examples are available in Rosetta Code.
- Using Golang within Wren CLI - How to Hack the Wren CLI and add Golang functions
- Adding new Operators and Keywords to Wren - How to extend Wren to your needs
- Supertype Walker - Validates if a Class inherits from a specific parent.
-
Shorter Fn.new - A way of using
Fn.new
with a single keyword. - Trim String Indent - How you can trim indent from normal Strings.
-
Make Modules Private - How you can restrict access to classes and variables by hiding its module in
resolveModuleFn
. - Interfaces - How to implement an Interface in Wren
- Num to Hex - Convert a number to an hexadecimal string.