roblox_dart 0.1.7 copy "roblox_dart: ^0.1.7" to clipboard
roblox_dart: ^0.1.7 copied to clipboard

Dart-to-Luau transpiler for Roblox. Write Dart, compile to Luau with full Roblox API types and Rojo integration.

0.1.0 #

  • Initial release
  • Dart-to-Luau transpiler with Rojo integration
  • Roblox API stubs: Vector3, CFrame, Color3, UDim2, Instance, BasePart, Humanoid
  • Services: Workspace, Players
  • CLI commands: init, watch, translate

0.1.1 #

  • Added 'publish_to: none' to generated projects to prevent pub.dev errors.
  • Improved path detection for roblox_dart dependency in 'init' command.

0.1.2 #

  • Adaptive dependency detection: init now automatically chooses between path (Dev) and version (User) based on installation environment.
  • Dynamic version detection in init command based on internal pubspec.
  • Project cleanliness: ensured all generated projects avoid hardcoded cache paths.

0.1.3 #

  • Internal refactor: version management moved to lib/version.dart for maximum reliability.
  • Robust fallback mechanism for version detection across all operating systems.

0.1.4 #

  • Improved init command template: Now generates a complete Client-Server-Shared project structure.
  • Added src/shared/shared.dart and example communication between server and client in the default template.
  • Refined project bootstrapping for a more professional developer experience.

0.1.5 #

  • Native Rojo resolution: init and import now respect the default.project.json path structure.
  • Smarter imports: Automatically generates relative Roblox paths (e.g. script.Parent.Shared) across client/server boundaries.
  • Optimized performance: Improved compiler initialization with one-time project config parsing.
  • Refined internal architecture of the visitor pattern.

0.1.6 #

  • Resolved fatal double require() chain-nesting bug on luau module resolution emitted by import directives.
  • Cross-Boundary Service Injection: Extracted Roblox-TS parity routing. Path compilation strictly evaluates default.project.json service nodes and automatically builds native entry points (game:GetService(...)) when traversing between Client, Server, and Shared scopes.
  • Improved robust AST path parser: Segments are deeply walked mapping relations like .. strictly as independent "Parent" instances to prevent runtime Luau failures.
  • Added foundational integration test suit import_visitor_test.dart for compiling AST nodes internally safely.

0.1.7 #

  • Fixed critical RojoResolver regression preventing game:GetService(...) cross-boundary emission natively on fresh compilations: The resolution system was wrongfully discarding $path mappings if output out/ directories did not physically exist prior to the transpilation process.
1
likes
140
points
28
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart-to-Luau transpiler for Roblox. Write Dart, compile to Luau with full Roblox API types and Rojo integration.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, args, path

More

Packages that depend on roblox_dart