Leonardo de Moura
|
2ea7479ee9
|
Move sexpr/format/options to util/sexpr (reason: circular dependency between util and numerics lib), now numerics depend on util, and sexpr depends on numerics and util. Add scanner to frontend.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-13 03:40:51 -07:00 |
|
Leonardo de Moura
|
e5fe016a44
|
Add pretty printer for s-expressions and options
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-08 18:38:18 -07:00 |
|
Soonho Kong
|
9516d9f88f
|
Restructure format, and fix bugs
|
2013-08-08 12:24:19 -07:00 |
|
Soonho Kong
|
fe9d2147d2
|
Improve performance of format by using "space_upto_line_break" instead of "fits"
|
2013-08-08 10:34:15 -07:00 |
|
Soonho Kong
|
5f10d47035
|
Change operators in format:
f1 + f2 = f1 <> f2
f1 ^ f2 = f1 <> " " <> f2
|
2013-08-02 19:17:29 -07:00 |
|
Soonho Kong
|
bddecd7d9c
|
Roll back to flatten(line) == " "
|
2013-08-02 19:16:19 -07:00 |
|
Soonho Kong
|
229b4f8759
|
Update format.cpp, flatten(LINE) = "" instead of " "
|
2013-08-01 18:53:41 -07:00 |
|
Soonho Kong
|
e898bb996c
|
Fix performance bug in format, add paren combinator
|
2013-08-01 18:03:51 -07:00 |
|
Soonho Kong
|
426c3a667a
|
Update format
1) operator+ is <> (previously, it was a + b = a <> ' ' <> b)
2) using sstream to compute length of text
|
2013-08-01 15:41:45 -07:00 |
|
Soonho Kong
|
a7910e1fe7
|
Update format.cpp & format.h + Update format tests
|
2013-08-01 13:43:49 -07:00 |
|
Soonho Kong
|
03b1ce643e
|
Restructure format, add group and flatten
|
2013-07-23 18:42:31 -07:00 |
|
Soonho Kong
|
71638a8ad4
|
Add pretty-print: format.cpp, format.h
|
2013-07-23 10:43:41 -07:00 |
|