Giter Club home page Giter Club logo

bsn-goldparser's People

Contributors

avonwyss avatar polasek avatar

Watchers

 avatar

bsn-goldparser's Issues

Semantic mapping doesn't work with non-English letters

What steps will reproduce the problem?

---
Create a grammar with terminals and/or non-terminals which use non-English 
letters.

What is the expected output? What do you see instead?

---
Expected: semantic mapping does its job.
Actual: the parsing that goes on within the Rule custom attribute fails.

What version of the product are you using? On what operating system?

---
bsn.GoldParser-1.3.4084
Windows Vista

SOLUTION
Please find attached a modified grammar that solves the issue, as well as a 
test case that exposes it.

Original issue reported on code.google.com by [email protected] on 5 Nov 2011 at 9:40

Attachments:

Return more errors on syntax errors

What steps will reproduce the problem?
1. when syntax error, immediate return only first one error
2.
3.

What is the expected output? What do you see instead?
return error list in all source.

What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 7 Dec 2010 at 10:46

RuleTrim for <nl Opt> ::= doesn't work

What steps will reproduce the problem?
1. Create RuleTrim for <nl Opt> ::=

What is the expected output? What do you see instead?

It reports rule couldn't be found but it is there because I can bind it to 
regular class.

What version of the product are you using? On what operating system?
Latest stable version. Windows 8.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 4 Nov 2012 at 6:01

Implement visitor pattern

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
how to implement visitor pattern ?

What version of the product are you using? On what operating system?
i'd like to print all statement trees and valid check with used variables

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 20 Dec 2010 at 1:31

incorrect line number in tokenizer

What steps will reproduce the problem?
1. token position line number never increased
2. maybe Tokenizer::NextToken has a bug.
3.

What is the expected output? What do you see instead?
statements are include linefeed. so each token has valid line and column

What version of the product are you using? On what operating system?
bsn.GoldParser-1.2.3936.zip 

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Dec 2010 at 11:46

cgt can't be loaded under Mono

What steps will reproduce the problem?
1. Compile and run library under Mono with some parser and input

What is the expected output? What do you see instead?

It should correctly parse input but it instead fails to read cgt file with 
following exception

Unhandled Exception:
System.IO.IOException: Corrupted data ReadInternal
  at System.IO.Compression.DeflateStream.CheckResult (Int32 result, System.String where) [0x000a5] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/DeflateStream.cs:286 
  at System.IO.Compression.DeflateStream.ReadInternal (System.Byte[] array, Int32 offset, Int32 count) [0x00042] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/DeflateStream.cs:194 
  at System.IO.Compression.DeflateStream.Read (System.Byte[] dest, Int32 dest_offset, Int32 count) [0x00086] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/DeflateStream.cs:214 
  at System.IO.Compression.GZipStream.Read (System.Byte[] dest, Int32 dest_offset, Int32 count) [0x0001c] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/GZipStream.cs:67 
  at System.IO.BinaryReader.FillBuffer (Int32 numBytes) [0x00051] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/corlib/System.IO/BinaryReader.cs:142 
  at System.IO.BinaryReader.ReadUInt16 () [0x00000] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/corlib/System.IO/BinaryReader.cs:539 
  at bsn.GoldParser.Grammar.CgtReader.ReadString () [0x00007] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CgtReader.cs:142 
  at bsn.GoldParser.Grammar.CgtReader.ReadHeaderString () [0x00018] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CgtReader.cs:99 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (bsn.GoldParser.Grammar.LoadContext context) [0x00001] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:642 
  at bsn.GoldParser.Grammar.CompiledGrammar..ctor (System.IO.BinaryReader reader) [0x00024] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:262 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (System.IO.BinaryReader reader) [0x00013] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:210 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (System.IO.Stream stream) [0x00031] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:191 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (System.Type type, System.String name) [0x00034] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:228 
  at MyProgram.Program.Main (System.String[] args) [0x0000b] in /fakepath/MyProgram/MyProgram/Program.cs:16 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: Corrupted data 
ReadInternal
  at System.IO.Compression.DeflateStream.CheckResult (Int32 result, System.String where) [0x000a5] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/DeflateStream.cs:286 
  at System.IO.Compression.DeflateStream.ReadInternal (System.Byte[] array, Int32 offset, Int32 count) [0x00042] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/DeflateStream.cs:194 
  at System.IO.Compression.DeflateStream.Read (System.Byte[] dest, Int32 dest_offset, Int32 count) [0x00086] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/DeflateStream.cs:214 
  at System.IO.Compression.GZipStream.Read (System.Byte[] dest, Int32 dest_offset, Int32 count) [0x0001c] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System/System.IO.Compression/GZipStream.cs:67 
  at System.IO.BinaryReader.FillBuffer (Int32 numBytes) [0x00051] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/corlib/System.IO/BinaryReader.cs:142 
  at System.IO.BinaryReader.ReadUInt16 () [0x00000] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/corlib/System.IO/BinaryReader.cs:539 
  at bsn.GoldParser.Grammar.CgtReader.ReadString () [0x00007] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CgtReader.cs:142 
  at bsn.GoldParser.Grammar.CgtReader.ReadHeaderString () [0x00018] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CgtReader.cs:99 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (bsn.GoldParser.Grammar.LoadContext context) [0x00001] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:642 
  at bsn.GoldParser.Grammar.CompiledGrammar..ctor (System.IO.BinaryReader reader) [0x00024] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:262 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (System.IO.BinaryReader reader) [0x00013] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:210 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (System.IO.Stream stream) [0x00031] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:191 
  at bsn.GoldParser.Grammar.CompiledGrammar.Load (System.Type type, System.String name) [0x00034] in /fakepath/bsn.GoldParser-1.3.4084/bsn.GoldParser/Grammar/CompiledGrammar.cs:228 
  at MyProgram.Program.Main (System.String[] args) [0x0000b] in /fakepath/MyProgram/MyProgram/Program.cs:16 

cgt can't be corrupted because it runs fine on Windows

What version of the product are you using? On what operating system?

Latest version of bsn-goldparser and Mono 3.0.0, tried also older Mono version 
and same result.

Original issue reported on code.google.com by [email protected] on 4 Dec 2012 at 4:47

Array parameter for RuleAttribute is not CLSCompliant

The ConstructorParameterMapping parameter of class RuleAttribute accepts an 
int[] array.  Such arrays are not CLSCompliant when used in an attribute, and 
interfere with the setting of this flag on assemblies that consume such types.

Consider adjusting this parameter to accept type IEnumerable<int>.  (There may 
be other classes in the assembly that accept such arrays and should also be 
adjusted.)

Original issue reported on code.google.com by [email protected] on 12 Sep 2010 at 5:49

Cannot build with MonoDevelop on Mac OS X

What steps will reproduce the problem?
1.Try to build project with MonoDevelop20402000

What is the expected output? What do you see instead?
Build error in 
"bsn.GoldParser-1.3.4084/bsn.GoldParser/Semantic/SemanticNonterminalFactory.cs" 
on line 70 with message:
bsn.GoldParser-1.3.4084/bsn.GoldParser/Semantic/SemanticNonterminalFactory.cs(32
,32): Error CS1061: Type `TOutput' does not contain a definition for 
`Initialize' and no extension method `Initialize' of type `TOutput' could be 
found (are you missing a using directive or an assembly reference?) (CS1061) 
(bsn.GoldParser)

What version of the product are you using? On what operating system?
1.3.4048 on Mac OS X 10.6.7

Please provide any additional information below.
Using MonoDevelop20402000 and Mono Framework 3.6.7_3

Trying to build PASH, I was missing a reference to GoldParser

Original issue reported on code.google.com by [email protected] on 3 Aug 2011 at 6:15

Need non-LGPL license

Hallo

we have a commercial project where we need the bsn-goldparser.
is it possible to obtain the license not requiring to publish the source code?

Thank you, Peter Korim, 

Original issue reported on code.google.com by [email protected] on 3 Dec 2013 at 1:00

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.