Skip to content

Add Lateralus.gitignore#4850

Closed
bad-antics wants to merge 1 commit intogithub:mainfrom
bad-antics:add-lateralus
Closed

Add Lateralus.gitignore#4850
bad-antics wants to merge 1 commit intogithub:mainfrom
bad-antics:add-lateralus

Conversation

@bad-antics
Copy link
Copy Markdown

What does this PR do?

Adds a Lateralus.gitignore template covering the artefacts produced by the Lateralus toolchain.

Why this change applies to everyone working with the technology

Lateralus is a statically typed, pipeline-oriented programming language. It has:

  • A public, open-source reference compiler at https://github.com/bad-antics/lateralus-lang (MIT) with Python, C, JS, LLVM, WASM and x86 backends
  • An official LSP, formatter and linter
  • A VS Code extension (lateralus.lateralus-lang)
  • A standard library and package manager (ltl add, ltl build, ltl bench)

Any developer creating a new Lateralus project today needs to ignore the same set of files — compiled output, caches, build/dist directories, benchmark JSON, LSP scratch files — and they all come from the canonical toolchain, not anything project-specific.

What's in the template

*.ltlc, *.ltbc          compiled source / bytecode  (emitted by `ltl build`)
.ltl-cache/             incremental compile cache  (used by the reference compiler)
.lateralus-cache/       LSP & formatter cache
build/, dist/           default build and publish directories
.ltl-deps/              package manager dependency tree
benchmark_results.json  output of `ltl bench`
*.prof                  profiler output
*.ltl.swp, *.ltl.bak    editor scratch files produced by the LSP

Scope

Per CONTRIBUTING.md, I've kept it tight:

  • ✅ Only Lateralus-specific rules — no Python, OS, or editor rules (those belong in their own templates)
  • ✅ No duplicates
  • ✅ Single new file, no edits to other templates
  • ✅ Each section has a one-line comment explaining why the pattern is ignored

References

Happy to iterate on any of the entries if you'd prefer a shorter list or different formatting.

Lateralus is a statically typed, pipeline-oriented programming language
with a public compiler (reference implementation at
https://github.com/bad-antics/lateralus-lang) shipping Python, C, JS,
LLVM, WASM and x86 backends, plus an LSP, formatter, linter, and VS
Code extension.

The template ignores the artefacts produced by the standard Lateralus
toolchain:

  * .ltlc / .ltbc  — compiled output and bytecode emitted by `ltl build`
  * .ltl-cache/    — incremental compile cache used by the compiler
  * .lateralus-cache/ — LSP/formatter cache
  * build/ dist/   — default build and publish directories
  * .ltl-deps/     — package manager dependency tree
  * benchmark_results.json, *.prof — output of `ltl bench`
  * *.ltl.swp, *.ltl.bak — editor scratch files created by the LSP

Scope is kept tight per CONTRIBUTING.md — no OS-specific, editor-specific
or Python rules (those belong in their own templates).
Copilot AI review requested due to automatic review settings April 23, 2026 22:41
@bad-antics bad-antics requested a review from a team as a code owner April 23, 2026 22:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Lateralus.gitignore template to ignore build outputs, caches, dependencies, benchmark/profiler artifacts, and LSP/editor scratch files produced by the Lateralus toolchain.

Changes:

  • Introduces Lateralus.gitignore with ignore rules for compiler outputs (*.ltlc, *.ltbc)
  • Ignores toolchain caches and dependency tree directories (.ltl-cache/, .lateralus-cache/, .ltl-deps/)
  • Ignores common toolchain output artifacts (build/dist dirs, benchmark/prof files, LSP scratch files)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Lateralus.gitignore
@@ -0,0 +1,25 @@
# Lateralus — https://github.com/bad-antics/lateralus-lang
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The header comment uses a Unicode em dash (—). The rest of the templates in this repo appear to stick to plain ASCII punctuation; using a regular hyphen (e.g., "# Lateralus - …") would keep formatting consistent and avoid any potential encoding/tooling issues in consumers that assume ASCII.

Suggested change
# Lateralus https://github.com/bad-antics/lateralus-lang
# Lateralus - https://github.com/bad-antics/lateralus-lang

Copilot uses AI. Check for mistakes.
@dooleydevin
Copy link
Copy Markdown
Collaborator

Lateralus looks cool, but a language that has been open-sourced for 3 weeks doesn't have enough of a following to warrant inclusion in this repo. Apologies -- going to close this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants