Giter VIP home page Giter VIP logo

plt-bdpl's People

Watchers

 avatar

plt-bdpl's Issues

Grammar does not allow identifiers to begin with '_'

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

What is the expected output? What do you see instead?
The lexer definition for ID (line 44) should be extended in Bdpl.g so that
'_' is allowed to be the first character in an identifier.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 17 Oct 2007 at 6:00

bug with unlimited arrays

input : 
struct outer
{
    byte size;
    struct outer
    {
        byte[size/2] n_bytes;
    }[*] b;
}[*] c;

file "x:/test/file_test.dat" inp_file;
read(inp_file,c);
print(c[0].b);


output :
ARRAY of struct:outer
[
]


Original issue reported on code.google.com by [email protected] on 15 Dec 2007 at 7:52

Array size specification incorrect in array declaration grammar

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

What is the expected output? What do you see instead?
The problem is in line 163 in the grammar for 'array'. The size field
allows range_list. This is not correct. range-list does not mean anything
in an array declaration. This should be changed to expr.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 17 Oct 2007 at 5:41

Break and Continue should only be permitted inside loops

The BDPL parser allows break and continue statements anywhere in the code.
This is incorrect. Break and continue should only be permitted inside the
body of a loop.

The solution could be that break and continue are not normal statements.
The options for the stmt in a for syntax could be either a normal stmt,
normal stmt block or break or continue or statement block with break/continue.

Original issue reported on code.google.com by [email protected] on 5 Dec 2007 at 9:28

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.