
Dart Hello
Minimal Dart hello-world for Flutter/Dart IDE and highlight tests.
- File
- DART · Dart
- Use case
- Syntax highlightingCode parsing+1
Find files, editable templates and browser test targets by what you need to make or test. The directory below is cut by format; the two collections under it cut the same library by subject and by workflow.
Page 2 of 6; 24 results per page.

Minimal Dart hello-world for Flutter/Dart IDE and highlight tests.

Elixir GenServer stub SAMPLE for Beam tooling.

Elixir module hello, for Beam/Elixir syntax and formatter smoke tests.

Elixir pipe-operator snippet for AST and formatter fixtures.

Minimal Fortran 90 hello for gfortran / highlighter fixtures.

Fortran module with a pure-ish helper for module parsers.

Fortran do-loop sum: realistic numerical snippet.

Intentionally invalid Fortran for compiler error fixtures.

Go generics helper for gopls / highlighter fixtures.

Intentionally lint-bait SAMPLE go snippet (errcheck-invalid) for rule-engine tests.

The classic hello-world in Go (package main, an import, and fmt.Println, tab-indented like gofmt) for testing highlighters, the Go compiler, and parsers.

Intentionally invalid Go syntax for gofmt/parser failure tests.

A realistic Go program: a worker pool with structs and methods, goroutines, buffered channels, and a sync.WaitGroup, tab-indented like gofmt, for testing highlighters, go vet, and parsers.

Haskell foldl snippet for AST and highlighter tests.

Idiomatic Haskell hello-world for GHC / HLS fixtures.

Haskell Maybe pattern matching: realistic small module.

Haskell Typeclass SAMPLE for Wave G language-tooling coverage.

Intentionally invalid Haskell (unterminated string) for parser failure tests.

A minimal, valid HTML5 document (doctype, head, and a single heading) for testing HTML parsers, highlighters, and validators against the simplest well-formed page.

A realistic semantic HTML page with landmark elements (header, nav, main, article, footer), a figure with alt text and caption, and lists, for testing HTML parsers, accessibility tooling, and highlighters.

Intentionally lint-bait SAMPLE java snippet (empty-catch-invalid) for rule-engine tests.

Java record type hello for javac / highlighter fixtures.

A realistic Java class with a package declaration, fields, a nested record, methods that throw exceptions, and formatted output, for testing highlighters, javac, Checkstyle, and parsers.

The classic hello-world in Java (a public class with the standard main method) for testing highlighters, javac, and Java parsers.