Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "ETrice/GSoC/2012/GACL"
(→Development Details and Core Information) |
(→Development Details and Core Information) |
||
Line 3: | Line 3: | ||
GACL is the language to describe the Detail Code for execution of ROOM Models in eTrice plugin . GACL aims at dealing with all features commonly available in imperative languages , especially Java , C/C++ . It will act as complement of current version of eTrice which uses code written in target language stored in a string as execution code . GACL would make user able to write execution code independent of target language . | GACL is the language to describe the Detail Code for execution of ROOM Models in eTrice plugin . GACL aims at dealing with all features commonly available in imperative languages , especially Java , C/C++ . It will act as complement of current version of eTrice which uses code written in target language stored in a string as execution code . GACL would make user able to write execution code independent of target language . | ||
− | == Development Details and Core Information == | + | == Development Details and Core Information == |
− | === Features of GACL === | + | === Features of GACL === |
− | * Variable Declarations ( with optional initializers ) and Function Declaration . | + | *Variable Declarations ( with optional initializers ) and Function Declaration . |
− | * Comparison & arithmetic expressions . | + | *Comparison & arithmetic expressions . |
− | * Basic types , and user defined types . | + | *Basic types , and user defined types . |
− | * If-else blocks and ladders . | + | *If-else blocks and ladders . |
− | * For , while , for each , enhanched for each . | + | *For , while , for each , enhanched for each . |
− | * Support for iterators (that can be used by for each loops ) . | + | *Support for iterators (that can be used by for each loops ) . |
− | * Function Calls with arguments & diff types i.e. ref/value/address . | + | *Function Calls with arguments & diff types i.e. ref/value/address . |
− | * type checking and as much as possible implicit type casting . | + | *type checking and as much as possible implicit type casting . |
− | * Casts corresponding to static casts in C . | + | *Casts corresponding to static casts in C . |
+ | |||
+ | === Thoughts on Syntax === | ||
+ | |||
+ | Although syntax for GACL is still being designed but here are few thought regarding syntax . | ||
+ | |||
+ | *Variable Declaration | ||
== Project Proposal == | == Project Proposal == |
Revision as of 01:34, 30 March 2012
Contents
Generic Action Code Language (GACL)
GACL is the language to describe the Detail Code for execution of ROOM Models in eTrice plugin . GACL aims at dealing with all features commonly available in imperative languages , especially Java , C/C++ . It will act as complement of current version of eTrice which uses code written in target language stored in a string as execution code . GACL would make user able to write execution code independent of target language .
Development Details and Core Information
Features of GACL
- Variable Declarations ( with optional initializers ) and Function Declaration .
- Comparison & arithmetic expressions .
- Basic types , and user defined types .
- If-else blocks and ladders .
- For , while , for each , enhanched for each .
- Support for iterators (that can be used by for each loops ) .
- Function Calls with arguments & diff types i.e. ref/value/address .
- type checking and as much as possible implicit type casting .
- Casts corresponding to static casts in C .
Thoughts on Syntax
Although syntax for GACL is still being designed but here are few thought regarding syntax .
- Variable Declaration
Project Proposal
Click Here to see the project proposal at gsoc's website .
Click Here to see the project proposal in my github repository .