drasil / binarynotes Goto Github PK
View Code? Open in Web Editor NEWThis project forked from gec/binarynotes
ASN.1 toolkit for Java and C#
License: Other
This project forked from gec/binarynotes
ASN.1 toolkit for Java and C#
License: Other
This project is a fork of the original: http://bnotes.sourceforge.net/ Building the project: ===================== * For building the .NET-based subproject (BinaryNotes.NET), open the solution file (BinaryNotes.NET/BinaryNotes.sln) in MS Visual Studio and build the solution there * For building the Java-based subprojects (BNCompiler and JavaLibrary), use Maven, i.e. run "mvn install" in the project root folder.
Hi,
I am using c# and no info about java projects. So I can not compile 1.6 compiler source code to assembly. I s it possible to add compiled compiler to download area. thanks.
Hi drasil,
One more problem. The compiler seems to use a "signed long" for all integers in an ASN1 file.
I have an unsigned integer as follow which is parsed as a signed long:
byteCounter [0] INTEGER (0..18446744073709551615),
`
This is parsed as a signed integer in C#"
private long byteCounter_ ;
[ASN1Integer( Name = "" )]
[ASN1ValueRangeConstraint (
Min = 0L,
Max = 18446744073709551615L
) ]
[ASN1Element ( Name = "byteCounter", IsOptional = false , HasTag = true, Tag = 0 , HasDefaultValue = false ) ]
Visual Studio Error:
Error CS0266 Cannot implicitly convert type 'ulong' to 'long'. An explicit conversion exists (are you missing a cast?)
Hi,
I have used multiple versions of Binary notes and they all throw an exception on reserved tokens. Usually reserved token are presented by three dots; "...".
Is there a possibility to apply an exception handling for such options so that no code is generated for them? I have an schema with thousands of lines with many reserved tokens.
exception error:
line 242:9: unexpected token: ...
line 255:9: unexpected token: ...
line 268:9: expecting LOWER, found '...'
line 284:9: unexpected token: ...
line 294:9: unexpected token: ...
line 309:9: unexpected token: ...
line 319:9: expecting LOWER, found '...'
Hi,
BinaryNotes version 1.6 does not include the binarycompiler-1.6. jar file. this is required by the binarycompiler cmd and sh files. I have managed to generate it myself however it would be good if this is made available in the zip file for others too!
I am attaching the complied files that is needed for running the compiler! The zipe file should be extracted to ...\BNCompiler\src\main\scripts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.