爱技术

 找回密码
 注册会员

QQ登录

只需一步,快速开始

微信登录

微信扫一扫,快速登录

搜索
查看: 385|回复: 10
收起左侧

[其它] SYMBIAN编程开发的好工具EMP 0.5

[复制链接]
发表于 2006-3-11 08:02:10 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?注册会员 微信登录

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.

EMPc0.5-Binary.zip

101 KB, 下载次数: 9

 楼主| 发表于 2006-3-11 08:03:00 | 显示全部楼层
Please note, that :

- EMP is a prototype!
- EMP applications have only been tested with Nokia N-gage.

Any information about how EMP-applications work with other devices is welcome (And ofcourse any other feedback)!

How to install:
1. Install a proper SDK (For now only the series 60 ep1 Visual Studio is properly tested).
2. Make sure that the SDK works properly.
3. Copy the EMPc-folder to the same drive that contains Symbian-SDK.
4. Create a new environment variable for Windows called "EMPcPath" and insert the path of EMPc-folder as a value (e.g. C:\Symbian\EMPc\).
5. Tweak .bat-files in EMPc-folder, so they have correct drive letters.

How to create an Eclipse-workspace for EMP:

1. Create a new workspace in Eclipse

2. Create a new simple project

3. Name your project with same name that your application will be

4. Create your applications main sourcefile (<projectname>.emp)

5. Create a new External Tool

-Change the name to EMP (for example)
-"Location" is the correct .bat-file from EMPc-folder.
-"Working directory" is $(project_loc} -variable.
-"Argumets" are ${project_name} -variable and possibly the xmlfolder (if you use any other than default)

Click run and EMP-compiler should start. (Of course with errors if you havent made any code yet)



Please visit the EMP homepage at http://emplanguage.sourceforge.net/ for further information.
回复 支持 反对

使用道具 举报

发表于 2006-3-11 08:04:39 | 显示全部楼层
坐沙发支持。
回复 支持 反对

使用道具 举报

发表于 2006-3-11 08:25:00 | 显示全部楼层
支持一下
这个东西只能看看啊
回复 支持 反对

使用道具 举报

发表于 2006-3-11 08:57:55 | 显示全部楼层
呵呵,支持FOX兄!!!FOX兄要入手SB的开发了!!
回复 支持 反对

使用道具 举报

发表于 2006-3-11 12:47:43 | 显示全部楼层
不错,支持一下,编程的,怕怕
回复 支持 反对

使用道具 举报

发表于 2006-3-11 12:59:40 | 显示全部楼层
关注支持!
回复 支持 反对

使用道具 举报

发表于 2006-3-11 13:50:13 | 显示全部楼层
看不懂....汗~ 支持兄弟~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-11 16:01:47 | 显示全部楼层
原帖由 kaneyet 于 2006-3-11 08:57 发表
呵呵,支持FOX兄!!!FOX兄要入手SB的开发了!!



路过,看到而已.XIXI

不过可以研究下.这还只是0.5版,也许还有很多功能需要完善补充吧
回复 支持 反对

使用道具 举报

发表于 2006-3-11 16:03:22 | 显示全部楼层
没时间研究这种东东啊,支持一下!
回复 支持 反对

使用道具 举报

发表于 2006-3-11 23:12:08 | 显示全部楼层
支持,
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员 微信登录

本版积分规则

小黑屋|Archiver|手机版|爱技术 ( 沪ICP备08115260号-3 )

GMT+8, 2025-7-28 06:40

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表