- 积分
- 261
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
EMP is an easy-to-use programming language for developing independent Symbian OS applications.
The EMP-language is the subject of my Master's Project and Thesis in University of Kuopio. Currently the prototype (my Master's Project) is ready and soon to be published.
My primary objective with the EMP-language was to provide an easier alternative for the Symbian OS C++ (currently the only language for developing independent Symbian OS applications).
Features
Please note that currently the EMP-language has only a small partition of the features that it might have in the future.
Key features:
Can be used for creating independent Symbian OS Applictions (.app-applications)
EMP-compiler generates Symbian OS C++-code (You can even continue your EMP-project with Symbian OS C++)
Simple application structure
Part of the Symbian OS C++-code, statements and data types are defined in xml-files
It is possible to create different versions of xml-files for different platforms (currently only the S60 1st edition is supported)
Tutorials
EMP-applications consists of an Application-block and View-blocks (currently only a one view is supported). Blocks are indicated by indenting lines of code that are part of the block. Statements are seperated with an end of the line or a dedent (in structured statements like while-statement).
Hello World:
Application HelloWorld
Properties
defaultview=helloview
uid=0x10005b8e
View helloview
Draw
DrawText("Hello World!", 20,20)
Graphics:
View graphics
Properties
refreshrate=50 //ms
Variables
Bitmap bm,mask
int x, y
Init
bm=LoadBitmap("bitmap.bmp")
mask=LoadBitmap("mask.bmp")
x=0
y=0
Draw
y+=1
x+=1
DrawMaskedBitmap(bm,mask,x,y)
DrawBitmap(bm, 40,40)
The first version of the EMP-compiler is released.
This version is based on the prototype of the EMP-language, so many features are missing. Currently there are no reference manual or proper tutorials, but I hope that I manage to make some in the near future. |
|