Giter Club home page Giter Club logo

binarynotes's Introduction

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.

binarynotes's People

Contributors

alpercoskun avatar drasil avatar jadamcrain avatar picbeats avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

binarynotes's Issues

Compiled 1.6 bncompiler files

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.

The compiler parses unsigned integer as a signed integer for C#

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?)

The compiler throws an exception on reserved tokens that are represented by dots "..."

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 '...'

The compiler jar file is not generated

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

bncompiler-1.6-dist.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.