automatic code generation
در نشریات گروه برق-
توسعه کاربر نهایی (EUD) یک حوزه تحقیقاتی پویا در علوم کامپیوتر است که بر توانمندسازی کاربران نهایی برای ایجاد و اصلاح نرم افزار از طریق رویکردهای مختلف تمرکز دارد و دائما با روش ها و ابزارهای جدید در حال تکامل است. برای افزایش مشارکت کاربر نهایی، پژوهشها، توسعه ابزارهای کاربر پسند برای کاربران نهایی به منظور طراحی رابط کاربری، به علاوه کد منبع نهایی که از تجزیه و تحلیل و تبدیل خودکار این رابط کاربری به دست می آید، را پیشنهاد می کنند. برنامه نویسی زبان طبیعی کنترل شده از ویرایش محدود شده ای از یک زبان طبیعی برای کدنویسی استفاده می کند. این رویکرد دسترسی به برنامه نویسی را از طریق فراهم کردن امکان کدنویسی به زبانی آشنا توسط کاربران نهایی و درعین حال حفظ دقت و وضوح لازم، افزایش می دهد. این پژوهش توسعه زبان CNUIML و تولید یک ویرایشگر برای آن را با استفاده از Xtext بررسی کرده و به خطاهای نحوی و تولید کد مقصد با استفاده از Xtext و Xtend می پردازد. زبان CNUIML برای توصیف رابط های برنامه کاربردی تحت وب، با تمرکز بر نیازهای سیستم و نگرانی های کاربر نهایی مورد بهره بردای قرار می گیرد. برنامه های کاربردی وب از صفحات و فرم های به هم پیوسته تشکیل شده اند که درختی از اشیاء را شکل می دهند. متا مدل یک برنامه وب شامل فرم، فرم فرعی، آیتم داده و محدوده دامنه و نوع مقادیر است. هر برنامه مجموعه ای از فرم ها با انواع مقادیر و دامنه های خاص هر یک است.
کلید واژگان: زبان توصیف رابط کاربری، مدل سازی رابط کاربر مبتنی بر مدل، Xtext، Xtend، تولید کد خودکارEnd-User Development (EUD) is a dynamic research area in computer science, focusing on empowering end-users to create and modify software through various approaches, constantly evolving with new methods and tools. To enhance end-user participation, research suggests developing user-friendly tools for end-users to design the UI, with the final source code derived from analyzing and automatically transforming this UI. Controlled natural language programming uses a limited version of a natural language for coding. This approach enhances programming accessibility by enabling end-users to code in a familiar language, maintaining the necessary precision and clarity. This research study the development of the CNUIML language and generation of an editor for it using Xtext. It delves into syntax error checking and target code generation using Xtext and Xtend. The CNUIML language is used to describe web application interfaces, focusing on system requirements and end-user concerns. Web applications consist of interconnected pages and forms, forming a tree of objects. Each application is a set of forms with specific value types and domains. In order to evaluate the usability of the designed tool, we have used a case study. This case study demonstrates the process of creating CNUIML models and generating the associated HTML codes using CNL2C.
Keywords: User Interface Description Language, Model-Driven User Interface Modeling, Xtext, Xtend, Automatic Code Generation -
The lack of qualified developers is the main reason for the shortage of software. One solution to overcome this problem is to leverage the end user for software development. Model-based approaches attempt to facilitate the involvement of the end user in the software development process. Various approaches have been explored to automatically transform the user interface model into the source code. However, the research community has focused less on describing the user interface with natural language. We used the MDA approach and the CAMELEON reference framework to develop a natural controlled modeling language (CNUIML) for modeling the user interface of web applications. The meta-model of the designed language is represented by the meta-meta-model and the grammar of the language is developed using EBNF. The usability of CNUIML has been evaluated through two case studies. The models described with this language are AUI-level models based on CRF and a PIM, based on the MDA approach. In this study, we have shown that the model designed with this language can be transformed into similar models such as task models or class diagrams using M2M. We have also discussed how the source code is obtained from the transformation of this model using M2T.Keywords: Software Engineering, System Modeling, Automatic Code Generation
-
با توجه به وقوع روزافزون حوادث غیرمترقبه و نیاز به برنامه ریزی پیش از بحران به منظور کاهش خطرات و خسارات وارده، نیاز به مدل سازی محیط های واکنش اضطراری بیش از پیش احساس می شود. با استفاده از مدل سازی می توان برای عملیات پاسخ گویی به بحران، مانند تشکیل تیم، تخصیص وظایف به تیم ها و انجام وظایف توسط تیم ها، برنامه ریزی دقیق تری انجام داد. یکی از چالش های رایج در این مسیر، این است که مدل باید به شکلی قابل فهم برای مدیر بحران در آید تا وی بتواند از نتایج حاصل از مدل سازی بهره برداری نماید. برای اجرای مدل و مشاهده ی نتایج، لازم است مدل به برنامه تبدیل شود. مدیر بحران با اجرای آن برنامه می تواند چگونگی اجرای عملیاتی از مدل مانند تشکیل تیم ، تخصیص وظایف و انجام وظایف، را مشاهده نماید. در این مقاله، کد قابل اجرای یک سیستم چندعاملی به طور خودکار از روی مدل های طراحی شده بر اساس روش مدل رانده تولید شده است. این کار با استفاده از زبان مدل سازی خاص منظوره ی ERE-ML و ابزار مربوط به آن انجام شده و امکانات جدیدی به این زبان افزوده شده است. به منظور ارزیابی خروجی کدهای تبدیل، مطالعه ی موردی زلزله بم انجام شده، و سناریوهای تعریف شده در سیستم تولیدشده به نمایش در آمده است.
کلید واژگان: مهندسی نرم افزار مدل رانده، تولید خودکار کد، سیستم های چندعاملی، محیط های واکنش اضطراری، ERE-MLConsidering the increasing occurrences of unexpected events and the need for pre-crisis planning in order to reduce risks and losses, modeling instant response environments is needed more than ever. Modeling may lead to more careful planning for crisis-response operations, such as team formation, task assignment, and doing the task by teams. A common challenge in this way is that the model should be understandable for crisis managers, such that they could exploit from the consequences of modeling. To run the model and view the results, the model should be converted to a program. The crisis manager would run the program to see how the model operations, including team formation, task allocation, and task performance, are done. In this paper, the executable code of a multi agent system is automatically generated from a model which is designed based on model driven approach. A domain specific modeling language named ERE-ML and its related tool are used, and some new features are added to this language. To evaluate conversion code output, the case study of Bam earthquake is implemented, and the scenarios defined in the system are visualized.
Keywords: Model Driven Software Engineering, Automatic code generation, Multi-Agent Systems, Emergency Response Environments, ERE-ML
- نتایج بر اساس تاریخ انتشار مرتب شدهاند.
- کلیدواژه مورد نظر شما تنها در فیلد کلیدواژگان مقالات جستجو شدهاست. به منظور حذف نتایج غیر مرتبط، جستجو تنها در مقالات مجلاتی انجام شده که با مجله ماخذ هم موضوع هستند.
- در صورتی که میخواهید جستجو را در همه موضوعات و با شرایط دیگر تکرار کنید به صفحه جستجوی پیشرفته مجلات مراجعه کنید.