thesis version
This commit is contained in:
14
scripts/red_expr
Executable file
14
scripts/red_expr
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat|sed -r \
|
||||
-e 's/.*Ts = \{[A-Za-z0-9_]+<(.*)>\};.*/\1/g' \
|
||||
-e 's/Expression/E/g' \
|
||||
-e 's/op::Comma/#/g' \
|
||||
-e 's/op::Assign/=/g' \
|
||||
-e 's/op::Addition/+/g' \
|
||||
-e 's/op::Multiplication/*/g' \
|
||||
-e 's/IntToType<(.)ul>/\1/g' \
|
||||
-e 's/IteratorImpl<>/IT/g' \
|
||||
-e 's/IteratorImpl<(.) >/\1/g' \
|
||||
-e 's/int\*, //g' \
|
||||
-e 's/, IteratorImpl<> //g'
|
Reference in New Issue
Block a user