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

Support for apostrophe ' in the DSL #145

Open
gauranshkumar opened this issue May 21, 2024 · 0 comments
Open

Support for apostrophe ' in the DSL #145

gauranshkumar opened this issue May 21, 2024 · 0 comments

Comments

@gauranshkumar
Copy link
Collaborator

Describe the bug
Currently, all the List and Dynamic list keys do not support apostrophe ' for languages like French.

To Reproduce
Steps to reproduce the behaviour:

  1. Use the following as an example.
PROJECT test123 "Test 123"

SCREENING
no_override
Reviews 1
Conflict on Decision resolved_by Unanimity
Criteria =   ["Out of scope" ]
Validation 100%  Normal
Phases  "Include papers" "Include papers" Fields(Title,Abstract,Link)

CLASSIFICATION
no_override
Simple model_approach "Does the paper report modeling approache for building CPS?"  [1] :bool 
    Simple model_comment "Describe modelling approach"  [1] :text(500)
    Simple model_mm "Does paper report a model/meta-model?" [1] :bool
    Simple model_mm_comment "Describe a model/meta-model"  [1]  :text(500)
    Simple reprot_tool "Does paper report a tool?" [1] :bool
    Simple model_tool_comment "Name reported tools (distinguish tools used by the approach, name of the tool supporting the approach or the ones on top of which approach was built)"  [1]  :text(700)
    Simple report_process "Does paper report a process?" [1] :bool 
    Simple model_mm_comment "Describe a reported process (e.g. if it was modelled, is it presenting overall approach, or cerian parts)"  [1] :text(500)


Simple part_report_model "Which part of CPS paper report to model?"  [1]   :text(500) 

DynamicList formalizam "Which formalizam is 'used for modelling of CPS?"  [1] "Formalizam" =["Acausal Modeling of Physical Systems with Bond Graphs (theory)","Equation-Based Acausal Modeling With Modellica","Causal Block Diagrams","Discrete Event Modeling","Discrete Event Modeling","Statecharts","Modelling and Verifying Complex Non-Deterministics Systems","Architecture Analysis and Design Language (AADL)","MPM process FTGPM","Other"]


Simple integration "How it is possible to integrated this formalizms?"  [1]   :text(500) 

DynamicList applicatio_domain "Which application domain is addressed?"  [1] "Application domain" =["Smart Manufacturing","Emergency Response","Air Transportation","Critical Infrastructure","Health Care and Medicine","Intelligent Transportation","Robotic for Service","Building automotation","Other"]

DynamicList participants "Does paper report who is a person/s involved in modelling the CPS?"  [1] "Participants " =["CPS engineer","CPS user","Domain expert","Evaluation expert","Other"]
Simple on_modellers "Does paper report on modellers background knowladge?" [1] :bool
Simple year "Year"  [1] :int(4)

REPORT
Simple year "Papers per year" on year charts( pie)
Simple application_domain "Application domain" on applicatio_domain charts(bar)
Compare year_domain "Application domain per year" on applicatio_domain with year charts(bar)

In the above example I have explicitly added an ' here DynamicList formalizam "Which formalizam is 'used for modelling of CPS?"

  1. Generate the PHP file (it usually runs)
  2. create a project from the generated configuration file, and you will get a syntax parse error due to uncareful handling of the apostrophe by the DSL.

Expected behaviour
The case should be handled separately, and the use of an escape sequence may fix the problem.

Screenshots
image

@gauranshkumar gauranshkumar changed the title Support for Appostrophe ' in the DSL Support for apostrophe ' in the DSL May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant