Optimization of lang.Parser
using |
instead of |||
#92
Labels
area:lang
Related to metalanguage
area:spec
Related to specifications
enhancement
Enhance the quality of a feature
Scala parser combinator provides both the ordered match composition (
|
) and the longest match composition (|||
). However, the former one (|
) has better performance than the latter one (|||
). Therefore, we need to replace the|||
operator with the|
operator as much as possible in thelang.Parser
to increase the speed of mechanized specification extraction while preserving the correctness of the parsing process.The text was updated successfully, but these errors were encountered: