Leonard Schütz

Results 73 issues of Leonard Schütz

Similar to issue #45, the asynchronous counterpart of the file system methods need to be implemented. Also, charly-side abstractions for things like streams or file descriptors need to be developed....

Implement the main synchronous file system calls: - `fs_open` - `fs_read` - `fs_close` - `fs_stat` - `fs_lstat` - `fs_fstat` - `fs_gets` - `fs_exists` - `fs_print` - `fs_flush` - `fs_read_bytes` -...

The compiler should rewrite small inefficiencies like the following: Example: ```asm ; old setlocal 1, 0 readlocal 1, 0 ; new setlocalpush 1, 0 ```

I've added the feature to track daily contribution goals. This adds the following environment variables to the .env config file: - **CONTRIBUTION_GOAL_DAILY_TRACKING** - enable / disable - **CONTRIBUTION_GOAL_DAILY** - The...

Implement the following AND assignment operators: ```javascript &= // AND assignment |= // OR assignment ^= // XOR assignment = // right-shift assignment ```

Syntax
Interpreter

```javascript enum MyEnum { Foo Bar Baz } MyEnum.Foo # => 0 MyEnum.Bar # => 1 MyEnum.Baz # => 2 ``` Enums can also have static methods ```javascript enum MyEnum...

Syntax

You should be able to put methods added via native extensions into a namespace. ```crystal charly_namespace "mynamespace" do charly_api "mymethod" do TString.new "Hello world" end end ``` Access inside charly:...

Standard Library
Syntax
Enhancement
Interpreter

Remove the usage of the `OptionParser` and create a order-sensitive CLI interface. See: https://github.com/crystal-lang/crystal/blob/master/src/compiler/crystal/command.cr#L58 Commands should be: ```bash charly # starts the REPL charly repl # starts the REPL charly...

CLI

```javascript let name = "world" let message = "up" "hello #{name} whats #{message} result: #{2 + 2 * 2}" ``` becomes: ```javascript "hello " + (name).to_s() + " whats "...

Syntax

Currently the prelude is being passed via the require call and added to the new visitor. The prelude should be the top-most layer in the hierarchy, appending program execution scopes...

Enhancement
Interpreter