tart_dev 0.0.1 copy "tart_dev: ^0.0.1" to clipboard
tart_dev: ^0.0.1 copied to clipboard

Tiny Dart.

๐Ÿ‹ Tart Dev #

Tiny Dart, Big Impact! ๐Ÿš€

Pub Version License: MIT

๐ŸŒŸ Features #

  • ๐ŸŽฏ Lightweight Dart parser
  • ๐Ÿงฉ Modular and extensible design
  • ๐Ÿšฆ Comprehensive token handling
  • ๐ŸŒณ Abstract Syntax Tree (AST) generation
  • ๐Ÿงช Thoroughly tested

๐Ÿš€ Getting Started #

Add tart_dev to your pubspec.yaml:

dependencies:
    tart_dev: ^0.0.1

then run:

dart pub get

๐Ÿ“š Usage #

Here's a quick example of how to use Tart Dev:

import 'package:tart_dev/tart.dart';
void main() {
    final source = 'var x = 42;';
    final lexer = Lexer(source);
    final tokens = lexer.scanTokens();
    final parser = Parser(tokens);
    final ast = parser.parse();
    print('Tokens: $tokens');
    print('AST: $ast');
}

For more examples, check out the /example folder in our GitHub repository.

๐Ÿ› ๏ธ API Reference #

Tart Dev provides the following main classes:

  • Lexer: Tokenizes the input source code
  • Parser: Generates an AST from tokens
  • Token: Represents individual lexical units
  • AST: Various AST node classes for different language constructs

For detailed API documentation, visit our API reference page.

๐Ÿค Contributing #

We welcome contributions! Please see our contributing guide for more details.

๐Ÿ“„ License #

Tart Dev is released under the MIT License. See the LICENSE file for details.

๐Ÿ’– Support #

If you find Tart helpful, consider giving it a star on GitHub and sharing it with others!


Made with ๐Ÿ‹ by the Tart Dev team

0
likes
0
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

Tiny Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, tart

More

Packages that depend on tart_dev