Homec4science

Add a context-free grammar generator and a lipsum generator

Authored by epriestley <git@epriestley.com> on Apr 11 2013, 06:39.

Description

Add a context-free grammar generator and a lipsum generator

Summary: See discussion in D5605. Add support for generating realistic-seeming test data.

Test Plan:
Generated lipsum:

Lorem laboris irure proident ut voluptate non ("Ipsum Lorem Dolor") minim aliqua ea anim nisi sunt. Ipsum ipsum consequat reprehenderit laborum anim commodo. Amet magna quis sed ("Dolor Dolor Lorem") minim quis laboris ea. Dolor laboris ut sit excepteur exercitation ("Lorem Dolor Sit") labore quis aliquip nisi.

Lorem lorem! Amet adipisicing ullamco duis enim in. Lorem excepteur aute officia ("Sit Lorem Ipsum") labore velit.

Amet proident minim elit dolor sit ("Sit Sit Sit") sed occaecat est. Sit officia.

Lorem voluptate eiusmod lorem amet aute esse ("Ipsum Dolor Sit") eu ea nisi eu. Lorem labore. Lorem dolore fugiat: excepteur, in, elit sunt. Amet lorem qui fugiat dolore! Lorem occaecat fugiat! Ipsum nisi eu: ex, ipsum, nostrud magna.

Dolor ad mollit minim sunt; lorem duis amet quis dolor. Amet culpa magna commodo irure: eu, esse, mollit anim. Dolor sint officia fugiat? Dolor anim. Dolor cillum nostrud fugiat qui ("Sit Sit Amet") tempor mollit. Ipsum amet voluptate magna labore!

Amet eu deserunt amet in. Dolor amet veniam sed aliqua ullamco sit. Amet ea sint aute nulla adipisicing, "Dolor et incididunt duis." Sit enim laborum proident elit ex. Dolor cupidatat; adipisicing irure irure ea consequat excepteur.

Ipsum sunt do amet aliqua aliqua culpa! Lorem dolore nostrud amet ut; nulla est deserunt officia ipsum. Sit ipsum. Lorem esse elit sit ut ex, "Ipsum reprehenderit labore duis fugiat sed." Ipsum sit non aute in; et est.

Sit ad nostrud consectetur esse anim! Ipsum magna aliqua ipsum consequat culpa aute. Ipsum ex sint nulla sit aliquip ("Amet Sit Amet") nulla. Lorem occaecat enim ipsum proident; irure officia sunt aliqua excepteur est.

Amet reprehenderit adipisicing et nisi et sed!

Ipsum enim aute deserunt adipisicing eu; do id laboris fugiat est. Lorem adipisicing. Lorem mollit tempor, "Amet amet magna." Amet laborum ut; culpa dolor sint.

Sit ipsum et laborum deserunt adipisicing. Sit do voluptate sint sint sunt aute, "Lorem proident non cupidatat non amet." Ipsum pariatur ad aliquip mollit aliqua ut: tempor, commodo, duis labore. Sit adipisicing quis duis et aliqua minim?

Sit et sint cupidatat est sint eiusmod?

Ipsum sint magna laborum magna duis; in officia sint in. Dolor labore. Lorem ex qui ea do commodo laborum. Amet dolore laborum tempor? Ipsum anim veniam nulla officia nisi esse; proident proident tempor cupidatat exercitation. Amet commodo quis mollit nisi lorem incididunt: non, exercitation, in laborum.

Ipsum irure veniam consectetur elit nostrud. Lorem non reprehenderit aute aliqua sed culpa: sed, nostrud, sit excepteur. Amet aute in elit laboris sed veniam? Lorem nisi reprehenderit nisi?

Reviewers: chad, vrana, AnhNhan

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D5606

Details

Committed
epriestley <git@epriestley.com>Apr 11 2013, 06:39
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUf456c6d42277: Allow PHPFragmentLexer to parse terminal backslashes inside strings
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU2c4192c0b5a9: Add a context-free grammar generator and a lipsum generator (authored by epriestley <git@epriestley.com>).Apr 11 2013, 06:39