Samuel-Tyler

Results 17 comments of Samuel-Tyler

I see, I appreciate your efforts. It is interesting to see. I would not be surprised if there are many issues as robustness of the compiler has not been tested...

This seems to work for me on master head / devel. ``` styler@styler:~/git/fast_ber/build$ cat ../testfiles/defaults.asn Defaults DEFINITIONS EXPLICIT TAGS ::= BEGIN SeqItem ::= INTEGER SomeSeq ::= SEQUENCE { flag1 BOOLEAN...

Do you have a space after someInt?

Seems to work ok ``` SomeSeq ::= SEQUENCE { someInt1 INTEGER, flag1 BOOLEAN DEFAULT FALSE, someInt2 INTEGER OPTIONAL -- error on this one } END styler@styler:~/git/fast_ber/build$ ./src/fast_ber_compiler ../testfiles/defaults.asn a styler@styler:~/git/fast_ber/build$...

Thank you, I will take a look. Parsing value types in ASN.1 is very difficult due to ambiguities in the specification.

That will fix this particular issue, and that's fine. Perhaps adding a ValueList type ({SingleValue, SingleValue, SingleValue...})will help more generally. Ideally this should be the type Value, although that may...

Sadly I'm no longer actively developing the project. For the most part types are encoded as DER however (there may be some missing edge cases with defaulted types)