Original title: A tentative study on the haxe of ramblings in West Line1. Description: What is Haxe?Haxe (read as a clam Cornu) is an open-source cross-platform solution that was created in the previous Flash era. Learn to Haxe, you can directly use this kind of typescript syntax, generate corresponding js/php/python/c
Haxe is mainly usedProgramPut it together for development. For example, if you want to develop flash + PHP applications, that is, the front-end is flash and the backend is Php, then you don't need two development environments. You can use haxe all-inclusive, it is to use haxe to develop flash (Flash 9 is supported), and use h
After reading the introduction about haxe by tie Ge, I can't help but try it out:
1. Download and install flashdevelop
Http://flashdevelop.org/download the latest flashdevelop and install it here (Note: Install this requires Java sdk1.6 or later, and install. netframework)
TIPS:
Flashdevelop does not recognize the latest JDK 1.7. If your machine is installed with version 1.7, You need to manually edit it.
X: \ Program Files (x86) \ flashdeve
Haxe and OPENFL DeploymentHaxe is a cross-platform programming language, and this article is not a haxe tutorial, but a deployment tutorial for OPENFL and Haxe.Haxe syntax is very similar to AS3, because the domestic deployment haxe difficult, often download to half will be disconnected, so here are some winding deployment method, but also for their own memo.OPEN
Currently, Json text needs to be parsed in Haxe. There are two third-party libraries related to Json in haxelib, but they have not been updated for a long time. After Haxe2.1, jsonAPI has become part of the standard library, specifically haxe. json class. Currently, I only use parsing, and it is very simple to use... syntaxHighlighter. al currently needs to parse Json text in
Put the wavsound.wav sound file under Assets/sounds,Add the following code to Project.xml:path= "Assets/sounds" rename= "sounds"/>The main document class Main.hx as follows:Package ;ImportOPENFL. Assets;ImportOpenfl.display.MovieClip;ImportOpenfl.display.Sprite;ImportOpenfl.media.Sound;/** * ... * @author kingbook*/classMainextendsSprite { Public function New() { Super(); varSound:sound = Assets.getsound ("Sounds/wavsound.wav"); Sound.play (); } }Use sound in *
Method explanation: Actuate. Tween (target: dynamic, duration: float, properties: dynamic ,? Overwrite: bool ,? Customactuator: class ) Target: the object to be controlled, including canvas and genie.Duration: animation durationProperties :???
Introduction
NME is an easy-to-use, cross-platform framework, perfect for game or application development.
The APIS follow the flash API closely. This shoshould make NME especially familiar if you have ActionScript experience. The API is also easy to understand if you have not worked with flash before.
If you are new to programming, please visit the new developers' guide. This will help introduce you to the haxe programming language, as well as basic
development, but it is quite mature. Its compilers and operating environments support a range of platforms, including Linux, Mac OS x, and Windows. Including eclipse based IDE and debugging tools are already published on the basis of the Eclipse Public License.
Experimental programming language--nineth: HaXe
Most languages can be used to write portable code. The C language compiler works on almost every CPU architecture, while Java byte code works in
important feature of zimbu. Although zimbu is a compilation language, It outputs ansi c code.
Unfortunately, zimbu is still in its initial stage. However, if you are interested in the experience, some basic tools can be used with the Apache license.
No. 8: x10
Parallel processing has become a trend in software development. Therefore, the IBM Research Institute has developed x10 to adapt to this trend and hopes to improve the efficiency of developers by 10 times. X10 uses the Global address sp
Genome2d is an efficient 2D engine. Currently, it supports flash (stage3d) and HTML5, because only the author is maintaining it, and the source code is not open.
I recently talked with the author about open source.
The author divides several modules and compilation is not very convenient. Here we will briefly introduce the flash compilation method.
Because the author converts the code to haxe, he needs to install
Codemirror
{} Codemirror
/* In-browser code editing made bearable */
Codemirror is a javascript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.
A rich programming API and a CSS theming System are available for customizing codemirror to fit your application, and extending it with new functionality. Supported modes:
C, C ++, C #
Clojure
Coff
With the publication of the SWF file format and the ActionScript Virtual Machine 2 specification, many open-source SWF operating tools (Decompiler/Parser/Creater) are available on the network, it can analyze AS, Flex, Flash and other program structures, extract algorithms, resources, confuse code, and dynamically generate SWF and other functions.
A brief comparison of typical SWF operating tools:
Name
DevLanguage
Read/Write
SupportDoABC Tag
SupportOtherTag
SupportFlash
(math.log(n, self.BASE)) while True: bcp = int(pow(self.BASE, t)) a = int(n / bcp) % self.BASE s.append(self.ALPHABET[a:a+1]) n = n - (a * bcp) t -= 1 if t
?Python Implementation
Thanks? Andy Li, there's a HaXe implementation.?
/** * HaXe version of AlphabeticID * Author: Andy Li * ported from... * * Javascript AlphabeticID class * Author: Even Simon
As3-stomp
Flash
An ActionScript 3 implementation of the STOMP protocol
1.0
Delphistompclient
Delphi and FreePascal
A STOMP client for Embarcadero Delphi and FreePascal
1.0
Dstomp
Dynamic C
A STOMP client library written in Dynamic C for Rabbit
1.0
Gozirra
Java
A lightweight implementation of the STOMP specification
1.0
Hxstomp
True: bcp = int(pow(self.BASE, t)) a = int(n / bcp) % self.BASE s.append(self.ALPHABET[a:a+1]) n = n - (a * bcp) t -= 1 if t
?Python Implementation
Thanks? Andy Li, there's a HaXe implementation.?
/** * HaXe version of AlphabeticID * Author: Andy Li * ported from... * * Javascript AlphabeticID class * Author: Even Simon
* which is based on a script by
Coffeescript
Coffeescript
C++
Cpp
C # C
S
Css
Css
D
D
Dart
D
Delphi
Delphi
Diff
Diff
Django
Django
DOS. bat
Dos
Dust
Dust
Elixir
Elixir
ERB (Embedded Ruby)
Erb
Erlang REPL
Erlang-repl
Erlang
Erlang
FI
more difficult for readers to understand after being translated into Chinese. The following is an explanation of REPL:
A Read-Eval-Print-Loop (REPL) is available both as a standalone program and easily includable in other programs. REPL provides a way to interactively run JavaScript and see the results. it can be used for debugging, testing, or just trying things out.
The interactive interpreter (REPL) can be used as an independent program or easily included in other programs as part of the
interactive interpreter (REPL) can be run as a standalone program or easily included in other programs as part of a whole program. REPL provides an interactive way to run JavaScript scripts and view running results, often repl interactive ways to debug, test, and experiment with some kind of idea.
Here are some common programming languages for native support for REPL: Hefeng County Tobacco Monopoly Bureau
A repl language.
Common Lisp
Ruby
Python
Lua
Zimbu compiler outputs ANSI C code, which allows the local C compiler to compile the binary code of the cost platform.
X10 language
This is a parallel processing language that used to be used only for software development in a particular domain. However, with the popularization of multi-core CPUs and distributed computing, today's other programming languages do not seem to keep pace with this trend. This is why the IMB Research Institute developed the X10 language, a language designed specifi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.