Cosmo is a statically-typed programming language written in pure Crystal.
We have an extension for VS code (source), however it currently only features syntax highlighting.
Download the Cosmo Installer and run it.
- Enums
- Utility methods for tables
- Stack trace
- Allow throwing class instances that inherit from a base
Exception
class - String stuff
- Multiline strings
- Regexes
try..catch
statementsnone
accessing (hello&.world
evaluates tonone
ifhello == none
)- Intrinsic methods for all datatypes (inherit from a base type)
- Decorators
- Interfaces
- Namespaces
- Classes
- single inheritance
- mixins
- static/protected members
- Better type system
- type inference
- generics
- casting union types
- implicit conversions
- intersections
- Accessing private class members in public class methods
- Performance boosts lol
- Weird expression parsing (
[0].123
evaluates to 0.123??) - Segfaults
- e.x.
x << [1]
- e.x.
- Handle infinite recursion
- macro function to set recursion depth limit
(empty)
- Package manager (WIP)
- Documentation generator
- Linting/language server
- Highlight function names without parentheses
- Named arguments
- Make into a compiler or bytecode interpreter
- C bindings
- Fork it (https://github.com/R-unic/cosmo/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Test your code (
make test
) - Push to the branch (
make publish
) - Create a new Pull Request
- R-unic - creator and maintainer