From 7df7aea9ec27e7b5467049f8dd28ddf0af9f2a03 Mon Sep 17 00:00:00 2001 From: Jovansonlee Cesar Date: Wed, 25 Nov 2020 19:33:37 +0800 Subject: Update example, update TODO --- svgbob/TODO.md | 2 ++ svgbob/test_data/demo.bob | 16 +++++++++------- svgbob/test_data/merge.bob | 7 +++++++ 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/svgbob/TODO.md b/svgbob/TODO.md index 0e8ce6b..2ccf823 100644 --- a/svgbob/TODO.md +++ b/svgbob/TODO.md @@ -13,3 +13,5 @@ - [ ] Add test cases - [ ] Re-implement the escape string with double quotes. - [ ] Use perfect hashmap [phf](https://crates.io/crates/phf) to efficiently build the maps(unicode_map, circle_map, ascii_map) at compile time. +- [ ] Fix the double arrow issue + When there is 2 arrows in the middle of a line `---->>-------` or `----<<----` diff --git a/svgbob/test_data/demo.bob b/svgbob/test_data/demo.bob index 4e259a3..c73fa22 100644 --- a/svgbob/test_data/demo.bob +++ b/svgbob/test_data/demo.bob @@ -571,6 +571,7 @@ o-> Arcs o-> Quick logo scribbles + .---. _ /-o-/-- .--. |-| .--. .-/ / /-> /--. \ .--)-| .--.-. //.-.\ @@ -578,13 +579,14 @@ o-> Arcs '-. \ /\ |-// . * | '--'-' \\'-'/ \ / \ '+'/ \__/ '--' ' '--' - - .----. _ - | | ,--(_) - __|____|__ _/ .-. \ - | ______--| (_)( ) ) - `-/.::::.\-' \ `-'_/ - '--------' `--(_) + _____ + .----. _ / __)\ + | | ,--(_) | / \ \ + __|____|__ _/ .-. \ ___| |__/ / + | ______--| (_)( ) ) / (_ _)_/ + `-/.::::.\-' \ `-'_/ / / | | + '--------' `--(_) \ \__/ | + \(_____/ _______ \ .' /____'. \ / diff --git a/svgbob/test_data/merge.bob b/svgbob/test_data/merge.bob index 00fb0ac..4c14b1b 100644 --- a/svgbob/test_data/merge.bob +++ b/svgbob/test_data/merge.bob @@ -144,6 +144,13 @@ \ / + + + ----><------ + + ----<>------- + + ----->>---- ---------->> -- cgit v1.2.3