Daniel X Moore

Results 77 issues of Daniel X Moore

``` class X y: => b ``` https://coffeescript.org/#try:class%20X%0A%20%20y%3A%20%3D%3E%20b

enhancement
coffeescript

```civet x (e) -> if x := y z ``` ```typescript let ref;x(function(e) {})( ((ref = y)?( (const x = ref), z):void 0)) ``` Previously this was an internal parser...

bug

To test: - checkout this Hera branch: https://github.com/DanielXMoore/Hera/pull/15 - yarn link - build Hera - package Civet LSP - install extension - see TS errors in source/parser.hera ![image](https://github.com/DanielXMoore/Civet/assets/18894/9f7a148d-2546-4bd0-b6b2-978b0674784d)

Ctrl Clicking these location outputs in the console fails to jump to them. ``` ReferenceError: gatherRecursive is not defined at processBlocks (file:///home/daniel/apps/civet/source/parser/block.civet:143:3) at processProgram (file:///home/daniel/apps/civet/source/parser/lib.civet:1362:3) at file:///home/daniel/apps/civet/source/parser.hera:1069:1 at /home/daniel/apps/civet/node_modules/@danielx/hera/dist/machine.js:270:25 at...

lsp

There's been requests for a shorthand `var` to go alongside `let` and `const`. Here are some ideas: `..=` `,=` `;=` Any others we should consider?

proposal

```civet x => { f(y) } ``` Actual: ```typescript x(() => { f: f(y); }); ``` ES Compat: ```typescript x(() => { return f(y); }); ``` This is not really...

javascript

It would be neat to unify pattern matching pins with declaration assertions similar to how Elixir does it: https://elixir-lang.org/getting-started/pattern-matching.html#the-pin-operator ```coffee {x, ^y} := z --- assert(z.y === y, `z.y not...

proposal