tcr / parser-c

Haskell's language-c ported to Rust.
http://docs.rs/parser-c
31 stars 5 forks source link

Find appropriate settings for recursion_limit, stack size #4

Closed tcr closed 7 years ago

tcr commented 7 years ago

Stack size is important (see the parse function in root) to not cause stack overflows. I picked an arbitrary value here, but there might be a more scientific way of picking one or even figuring out why the code needs a stack size increase.

recursion_limit might not be needed to be set at all. Should be tested against the test bench.

tcr commented 7 years ago

Can be closed after #27

birkenfeld commented 7 years ago

Done!