myst
myst copied to clipboard
A structured, dynamic, general-purpose language.
Have this code: ```crystal before = Time.now sleep(Random.rand()) after = Time.now STDOUT.puts("Before - Milliseconds: ") STDOUT.puts("After - Milliseconds: " ) ``` And see it run: ```text $ myst test.mt Uncaught...
Something that I think a lot of big languages today are missing is Date literals. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) provides an un-ambiguous syntax for specifying dates, though the individual components of the...
The `Installation` section covers installation instructions for end users of Myst, but there's no documentation on how to set up the development environment to be able to contribute to Myst...
Regex literals are an important part of modern scripting languages. Having a concise syntax for instantiating patterns and performing matches is important. For actually performing matches, I think using the...
The old `MYST_PATH` that allowed multiple paths similar to `$PATH` has been removed in favor of `MYST_HOME`, which _should_ always point to the install location of the currently-active version of...
I'm pretty sure that `SimpleAssign` is only created when the left-hand side is a `StaticAssignable` (e.g., `Var`, `Const`, or `Underscore`). If the target is a pattern, then it becomes a...
The primary goal of Myst is and always has been to support users as best as possible. For the most part, this has meant defining an expressive, globally-consistent syntax, and...
`callinfo` would be a language-managed variable, similar to `self`, that provides some introspective information about the caller of a method. As a language variable, `callinfo` would also be added as...
I recently ran into what I thought was a bug when I saw this error from a simple spec: ``` String#to_i String#to_i String#to_i defaults to parsing in base 10 Assertion...
Consider this code: ```myst defmodule Foo def read :foo_read end end deftype Bar include Foo def read(something) :bar_read end end %Bar{}.read ``` I would expect this code to return `:foo_read`,...