Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add official support for different file types. #95

Open
Yiannis128 opened this issue Nov 28, 2023 · 0 comments
Open

[Feature] Add official support for different file types. #95

Yiannis128 opened this issue Nov 28, 2023 · 0 comments
Labels
enhancement New feature or request research This issue isn't being worked on, it is being considered, and researched.

Comments

@Yiannis128
Copy link
Collaborator

ESBMC supports the following file types:

  • C
  • C++
  • Java
  • And many more.

Currently, ESBMC-AI officially supports only C. The following regions of the program assume C code is being used as input:

  • System messages.

Need to add a mechanism that dynamically detects the type of file being worked with. Afterward, load a system message with a correct name for the file. For example, if it is a C file, then the system message should refer to the input as a C file, but if it is a Java file, it should specify Java.

The proposal should add and utilize the following fields in the config file:

"file_types": {
  "java":{
    "singular": "Java source code file",
    "plural": "Java source code"
  },
  "c":{
    "singular": "C source code file",
    "plural": "C source code"
  }
}
@Yiannis128 Yiannis128 added enhancement New feature or request research This issue isn't being worked on, it is being considered, and researched. labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request research This issue isn't being worked on, it is being considered, and researched.
Projects
None yet
Development

No branches or pull requests

1 participant