pathxp

Creator: coderz1093

Last updated:

Add to Cart

Description:

pathxp

Pathxp #



Like regular expressions but for defining paths in a grid

Installation 💻 #
❗ In order to start using Pathxp you must have the Dart SDK installed on your machine.
Install via dart pub add:
dart pub add pathxp
copied to clipboard
Using it #
pathxp have a very simple syntax, between {}, you can use T (top), B (bottom), L (left)
or R (right), separated by ,, to define a path.
For example:
{T, L, B}
copied to clipboard
Represents a path goes up, left and finally, bottom.
To define multiples steps in the same direction, a number can be added in front of the direction
symbol:
{2T, L, 3B}
copied to clipboard
This expression means two steps up, one left and 3 down.
Modifiers #
Paths can also have modifiers, which is meant to define metadata about a path, they are done
by adding their special identifier at the beginning of the expression, like [modifiers]{...}.
Available modifiers:

Repeating (R): Means that the path should repeat.
Infinite (I): Means that the path start again when it ends..

Online editor #
A simple online editor where you can test expressions is available at: https://erickzanardo.github.io/pathxp/

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.