KOLANICH

Results 871 issues of KOLANICH

https://github.com/kaitai-io/kaitai_struct_formats/blob/master/hardware/mifare/mifare_classic.ksy Obviously it needs compilation, you can read how to do it in https://github.com/KOLANICH/MFCTool.py/blob/master/setup.py#L16L31 Please note that `kaitaiStructCompile.py` is unstable and has unstaboe API, it is likely to be changed...

1. It puts too lot of unneeded stuff into `include` dir. I.e. the headers directly in `/usr/include/` are either unneeded (just there to include the header within a specialized dir)...

https://ci.appveyor.com/api/buildjobs/gtyiueue5u7joyiv/artifacts/compiler%2Fjvm%2Ftarget%2Fwindows%2Fkaitai-struct-compiler.msi (unpack it for example with lessmsi, contains a bunch of jars inside) `io/kaitaistruct/RuntimeConfig$.java` cfr: ```java @Override public RuntimeConfig apply(boolean autoRead, boolean readStoresPos, boolean opaqueTypes, CppRuntimeConfig cppConfig, String goPackage, String...

I usually postprocess the generated code with `black`. It seems to be inefficient and adds a delay. Should the lib generate code, mostly (except of indentation) identical to the one...

ASTs parsed from source contains lot of stuff it is inconvenient to set when generating AST. Such as lone numbers and `ctx`es. Without them the code won't compile and run....

```python def ourAnnAssign(target: ast.AST, value: ast.AST, annotation: ast.AST, useDedicatedSyntax: bool = False) -> OptAnnAssignT: if useDedicatedSyntax: return ast.AnnAssign( target=target, annotation=annotation, value=value, simple=1, ) else: typeString = astor.to_source(ast, pretty_source="".join) return ast.Assign(targets=[target],...

Hello. I think it can be useful to keep metadata when merge PDF files. For now the resulting file lacks metadata.