Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-09-04 18:59:40 +03:00
parent b42b94fa19
commit 4ebe5f96d3

14
diff.js
View File

@ -46,6 +46,20 @@ var MIN_TEXT_LENGTH = 100
// ...should be simpler to enter, maybe example-oriented intro // ...should be simpler to enter, maybe example-oriented intro
// - diff visualization -- for example see: // - diff visualization -- for example see:
// https://www.npmjs.com/package/jsondiffpatch // https://www.npmjs.com/package/jsondiffpatch
// - experiment with pattern contexts...
// a context is essentially a namespace for a pattern within a
// specific use instance.
// this would enable us to create a settable/linkable named
// pattern that would:
// - until first successful match use pattern to compare
// - set on first successful match
// - subsequent matches would compare to the set value
//
// NAMED(<name>[, pattern])
//
// this would also require a means to pass the context to
// nested patterns...
//
// //
// //
//--------------------------------------------------------------------- //---------------------------------------------------------------------