d
This commit is contained in:
12
sed.pythonToC++
Normal file
12
sed.pythonToC++
Normal file
@@ -0,0 +1,12 @@
|
||||
# #} -> }
|
||||
s|#}|}|
|
||||
|
||||
# # -> //
|
||||
s|#|//|
|
||||
|
||||
# dict[X, Y] -> std::map<X, Y>
|
||||
s_dict\[(.*), (.*)\]_std::map<\1, \2>_
|
||||
|
||||
# def functionName(X) -> Y -> Y functionName(X) {
|
||||
s|def (.*) -> (.*):|\2 \1 {|
|
||||
|
||||
Reference in New Issue
Block a user