Skip to content

Lisette as a scripting language? #776

@Brixy

Description

@Brixy

Blown away by Lisette. Excellent work.

lis build and lis emit don't work for single files. This is expected/intended, of course.

Lisette can (already) be used as the perfect compiled scripting language -- modern and expresive syntax, types, data types + Go's eco system (+ linter, formatter, language server ...) are gold.

It would be excellent if lis build my_script.lis [-o out_binary] and lis emit my_script.lis [-o out_script.go] were possible or even a shebang:

#!/usr/bin/env -S lis run

fn main() {
  // ...
}

I know Lisette is young and this is not a priority. lisette run + a tiny wrapper script is enough most of the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions