Comments (2)
- Judging by the error messages, you're probably using kaitai-struct-visualizer-0.5, and probably a more modern compiler (0.7?). Unfortunately, we haven't updated gems quite a long time, so if you want to use ksv, please install it from GitHub repo now.
- There are indeed two problems with your ksy:
id: BaseChunk
is not a valid identifier; generally, one's expected to writelower_underscore_case
identifiers, they would be formatted automatically according to the target language standardscontents
key is to specify byte arrays, and[0xdeadbeef]
(and similar declarations) is clearly not a byte. So, you've probably meant either[0xde, 0xad, 0xbe, 0xef]
or[0xef, 0xbe, 0xad, 0xde]
, depending on representation of that integer (likely the latter, as you've specifiedendian: le
).
from kaitai_struct_visualizer.
It seem to be a syntax error, while having no idea how to confirm that, (the compilation says OK), hm.
from kaitai_struct_visualizer.
Related Issues (20)
- Feature Request: __str__ and __repr__ for python generated classes HOT 1
- treat single-byte fields as byte/integer rather than an array: HOT 1
- Jump to end of array
- array size too big (ArgumentError)
- Support for creating a new console/shell to render text in?
- Not worked with grammars with parameters
- Instances do not highlight types as groups of values HOT 2
- Suggestion: Configure GitHub RuboCop Action HOT 1
- Screenshots HOT 1
- Win32API is not in the ruby standard library since version 1.9.2 HOT 5
- Import issue with KSV HOT 3
- Find out what Ruby versions ksv is compatible with on Windows HOT 2
- Support forward slashes (not just backslashes) in .ksy paths on Windows
- Make ksdump output only JSON on success HOT 6
- Why is Rake declared as a development dependency? HOT 2
- Remove legacy (pre-imports) feature of accepting multiple .ksy files
- instance field array crashes HOT 2
- Invalid byte sequence crashes ksdump 0.7 HOT 3
- Windows: command injection via the input `.ksy` file name
- require': cannot load such file -- Win32API (LoadError) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaitai_struct_visualizer.