Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edwardez/bbob_dart
⚡️Blazing fast port of the BBCode parser and transformer [bbob](https://github.com/JiLiZART/bbob) in dart.
https://github.com/edwardez/bbob_dart
Last synced: 12 days ago
JSON representation
⚡️Blazing fast port of the BBCode parser and transformer [bbob](https://github.com/JiLiZART/bbob) in dart.
- Host: GitHub
- URL: https://github.com/edwardez/bbob_dart
- Owner: edwardez
- License: mit
- Created: 2019-06-22T19:50:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-26T06:53:16.000Z (over 1 year ago)
- Last Synced: 2024-08-02T05:12:09.618Z (3 months ago)
- Language: Dart
- Homepage: https://pub.dev/packages/bbob_dart
- Size: 34.2 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - bbob_dart - ⚡️Blazing fast port of the BBCode parser and transformer [bbob](https://github.com/JiLiZART/bbob) in dart. (Dart)
README
## bbob_dart
![badge](https://img.shields.io/pub/v/bbob_dart.svg)
⚡️Blazing fast port of the BBCode parser and transformer [bbob](https://github.com/JiLiZART/bbob) in dart.
### What's currently ported?
* `bbob_parser` : parses bbcode into a ast.
### Usage
See code in [exmaple](https://github.com/edwardez/bbob_dart/tree/master/example) folder.### What's different from the original bbob?
`bbob_dart` is written in dart, which has a sound type system. And with the help of dart,
`bbob_dart` is strongly typed.
### I want to render ast into html/markdown...
You have two ways to render:
1. Similar to https://github.com/JiLiZART/bbob/blob/master/packages/bbob-html/src/index.js, how `bbob`
renders ast into html.2. Similar to https://github.com/dart-lang/markdown/blob/master/lib/src/html_renderer.dart,
`bbob_dart` has implemented an ast which allows you to walk through the tree using visitor pattern.Official support in `bbob_dart` for a html renderer might not happen in the near future. Feel free to send a pull request
if you have a well-tested implementation.### How fast it is?
See discussions [here](https://github.com/JiLiZART/bbob/issues/25). Performance is expected to be on par with original `bbob`.### Feature requests & bugs
Since this is a port of [bbob](https://github.com/JiLiZART/bbob), feature requests and bug
reports should preferably be reported to original [bbob](https://github.com/JiLiZART/bbob) repo if
it's not directly related to this dart implementation.