SlopScore
00 crowd

syntax-checker (github.com/rusiaaman/syntax-checker)

Multiple languages syntax checker
C · ★ 3 · 0 forks · MIT · paperwork by the Cap'mmostly ai (inferred)light human (inferred)works-on-my-machine (inferred)other
listed 2 hours ago by rusiaaman · last checked 2 hours ago
The owner didn't write this. This repo never submitted itself. The Cap'm found it on a truffle trawl and wrote its paperwork from what GitHub already shows. Picked by hand by the Cap'm on 2026-09-11: a Python library that checks syntax errors across many languages using Tree-sitter, whose README says "this repo is 100% AI generated and auto tested.". 3 stars; MIT license. The owner did not submit this. Votes count; awards don't until the owner claims it.

I'm not calling your project slop! Geeze, it's a joke... Do you own this repo?

Log in with GitHub as rusiaaman. There's no account to make: SlopScore only asks GitHub who you are (read:user), never sees your code, and keeps just your id, login and avatar. Then you can:

  • Keep it, on your terms. Commit your own slopscore.md (spec) and press Refresh. Your paperwork replaces the Cap'm's, and you can submit it for Slop of the Day.
  • Take it down. One click on Remove. It stays gone; the trawl never brings it back.

Log in with GitHub

Can't log in as the owner? Request a takedown. No login needed, and a trawled listing comes down right away.

GitHub says
Multiple languages syntax checker
created
2024-12-14 · pushed 3 months ago · 66 commits · 2 contributors
languages
C 68%JavaScript 10%TypeScript 9%CSS 4%Python 3%Go 2%
paperwork
contributinglicensereadme 57% health
dependencies
⚠ 69 of 1000 deps have known advisories · OSV.dev, checked 2 hours ago

Disclosures, inferred by the Cap'm

slopbucket
vibe-coded
category
other
ai_generated
mostly
human_touch
light
status
works-on-my-machine
language (detected)
ccssgojavascriptpythonrusttree-sitter-querytypescript
license (detected)
mit

The Cap'm's log

The Cap'm wrote this paperwork, not the owner. This repo never submitted itself to SlopScore. The Cap'm picked it by hand: a Python library that checks syntax errors across many languages using Tree-sitter, whose README says "this repo is 100% AI generated and auto tested.". It carries the MIT license. The disclosures above are his best guess from what GitHub shows.

Is this yours? Commit a real slopscore.md and press Refresh to replace this, or remove the listing in one click. There's no account to make: you log in with GitHub.

README (read the rest on GitHub)

Syntax-checker: A Multi-Language Syntax Checker

A Python library that uses Tree-sitter to check syntax errors across multiple programming languages based on Rust.

⚠️ Warning: this repo is 100% AI generated and auto tested. However, some human review and testing has been done.

Installation

pip install syntax_checker

Features

  • Support for multiple languages including:
  • Fast parsing using tree-sitter
  • Precise error reporting with line and column numbers
  • No need for language-specific toolchains
  • Easy to extend with additional language support

Usage

The library provides a simple interface to check syntax errors in source code:

import syntax_checker

# Check Python syntax
output = syntax_checker.check_syntax("py", """
def invalid_function[T](x):  # Invalid type parameter syntax
    print(\"unclosed string')  # Unclosed string
""")

# Get error positions as (line, column) tuples
print(output.errors)  # [(2, 19), (3, 11)]

# Get error descriptions
print(output.description)
# Line 2, Column 19: Syntax error: unexpected ERROR in function_definition
# Line 3, Column 11: Missing string_content in string

# Check a file without errors
output = syntax_checker.check_syntax("py", """
def valid_function(x: int) -> int:
    return x * 2
""")

print(output.errors)  # []
print(output.description)  # ""

Supported Languages and File Extensions

Language Extension(s)
Bash sh
C c, h
C++ cpp, hpp
C# cs
CSS css
Elisp el
Elixir ex, exs
Elm elm
Go go
HTML html, htm
Java java
JavaScript js
JSX jsx
JSON json
Lua lua
PHP php
Python py
ReScript res
Ruby rb
Rust rs
Solidity sol
TOML toml
TypeScript ts
TSX tsx

How It Works

Syntax checker uses tree-sitter parsers to analyze source code and detect syntax errors. Tree-sitter is a parser generator tool and incremental parsing library that can build a concrete syntax tree for source files and efficiently update it as the source file is edited.

The tool:

  1. Determines the appropriate parser based on the specified language
  2. Parses the input file
  3. Traverses the syntax tree looking for ERROR nodes
  4. Reports the location and type of any syntax errors found

Contributing

Contributions are welcome! Here are some ways you can contribute:

  1. Add support for new languages
  2. Improve error reporting
  3. Add new features
  4. Report bugs
  5. Improve documentation

Notes

Some experimental language support (OCaml, QL, SystemRDL) has been temporarily disabled due to parser integration issues. Contributions to fix these parsers are welcome.

License

MIT License - see LICENSE file for details

Scan report · 2026-09-11
  • Prohibited terms or links
  • Repository eligibility
  • slopscore.md paperwork
  • Content policy
  • Risk review

0 comments

log in to comment.

report this listinglog in to report