Lucas Myers

Results 10 issues of Lucas Myers

### Zig Version 0.11.0-dev.3803+7ad104227 ### Steps to Reproduce and Observed Behavior The `cmake` and `autoconf` styles of `ConfigHeader` take a `FileSource` for the input header, and do indeed work with...

bug
contributor friendly
zig build system

```rhombus module A ~lang rhombus: export namespace Foo module B ~lang rhombus: import parent!A open export def Foo.bar = 42 import: self!A open: rename Foo as Baz self!B open println(Baz.bar)...

Example: ``` #lang rhombus syntax_class HasRepet: kind: ~term | '($elem, ...)' syntax_class WrapsHasRepet: kind: ~term | '$(wrapped :: HasRepet)' let '$(matched :: WrapsHasRepet)' = '(1, 2, 3)' println(matched.wrapped) // allowed...

The following syntax class definition: ``` syntax_class Nonsense: kind: ~term fields | '$(term_option_sequence | '~foo')' ``` results in an error within expanded code, instead of some sort of error on...

Consider this code: ``` #lang rhombus/static syntax_class Foo: kind: ~term fields: value | '$(stx :: Number)': field value = stx.unwrap() def '$(foo :: Foo)' = '42' foo.value.unwrap() ``` I would...

I ran across an issue where code like the following does not work: ```rhombus namespace A: export fun add1(x): x + 1 let [num, ...] = [1, 2, 3] println([A.add1(num),...

Consider this code: ``` space.enforest myspace: space_path myspace meta_namespace myspace_meta: parse_syntax_class Parsed // works fine fun parse_1(stx): let '$(parsed :: Parsed)' = stx parsed // does not work; Parsed is...

``` #lang rhombus class Foo(x): internal Bar internal Baz let Baz(_) = Foo() ``` gives: ``` Baz: misplaced binding; the identifier is not bound as a macro, and no infix...

```rhombus #lang rhombus module A ~lang rhombus/and_meta: export defn.macro 'create_ns $ns_name: $bind: $val ...': 'namespace $ns_name: export def $bind: $val ...' create_ns X: answer: 42 X.answer // fine module B...

``` > syntax_class Bad: kind: ~group | '$()' > '' matches '$(_ :: Bad)' #false > '()' matches '$(_ :: Bad)' #false > '$('$')()' matches '$(_ :: Bad)' #false ```