Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeantlr4

Dart runtime libraries for ANTLR 4 parser generator.

pub.devRemove
d4rt

An interpreter and runtime for executing Dart code dynamically.

pub.devRemove
ScoresHealth5067 (best)
Maintenance4484 (best)
Quality6396 (best)
Popularity75 (best)43
Community80 (best)11
Compatibility100 (best)85
UsageDownloads (30 days)396k (best)5.4k
Likes37 (best)22
Pub points110 / 160150 / 160 (best)
GitHub stars19k (best)76
MaintenanceLatest release4.13.2, 2 years ago0.2.6, 4 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)2
Publisherlingyu.liUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies2 (best)4
LicenseBSD-3-CLAUSE-HPMIT
Setup effortLowLow
JudgementStrengths
  • Brings powerful ANTLR 4 parsing capabilities to Dart
  • Supports multiple platforms including Android, iOS, web, and desktop
  • Full generics support and runtime type validation
  • Security sandboxing with permission-based module restrictions
  • Precompiled scripts and AST caching for better performance
Weaknesses
  • Requires external ANTLR 4 tooling to generate the parser code
  • Limited documentation specific to Dart within the package README
  • Interpreted code execution is inherently slower than native compiled code
  • Certain advanced native interactions require specific permission grants
Warnings
  • Quiet but busy
None
antlr4 vs d4rt: which Flutter package should you use? | pubscout