GithubHelp home page GithubHelp logo

alexorso / tslgenerator Goto Github PK

View Code? Open in Web Editor NEW
100.0 100.0 134.0 1.01 MB

TSL generator for the Category Partition Method

License: Creative Commons Zero v1.0 Universal

Makefile 6.03% C 75.11% HTML 18.85%

tslgenerator's People

Contributors

alexorso avatar amirbehzad avatar devenbansod avatar qianqianwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tslgenerator's Issues

Support input filenames/filepaths longer than 30 characters

Hi,

I see that for Mac OSX implementation, it uses dynamic allocation of memory for storing the output file name (which is set based on value of the input_file here).

But for similar instances in Linux, Win32 and Win8, it uses a constant limit of 30 characters which might overflow in case of longer filenames or filepaths.

If you think this is a valid bug, I could go ahead and make a PR to fix this.

property parsing

hi regarding your TODO item: "changing the parsing of the files so that properties can be used even if they are declared later in the file", I am trying to analyze it, but I am using MacOS, and after I make and build the output, the tsl executable can parse the input file, and generate parsing error too, but it bumps with Segmentation Fault on MacOS when writing the TSL output file. I diff the built binary and found it differs from that one on Google Drive by Alex Orso. does anyone have idea? is there a switch that I have to add to the C compiler?

If statement in .tsl file does not include the expression evaluated in an IF statement

When using the tool, if an IF or IF/ELSE statement is used in conjunction with an [error] or [single] statement, then the generated .tsl file will have sufficient information to generate a Test Case without also reviewing the original file. The reason is that the expression being evaluated is not included in the .tsl file.

For example:

Height:
    Less than 5 Feet.
    Between 5 Feet and 6 Feet.
    More than 5 Feet.                           [if A or B]
                                                                   [error]

Will produce a test case such as:

Test Case 1  		<error>  (follows [if])
   Height:  More than 5 Feet:

Here a test case cannot be produced without looking at the original txt file to see the "A or B" condition associated with the if statement. It might be better to show the expression that is evaluated for an If statement. Not clear how to address for an Else clause, but perhaps it can be handled in the same way.

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.