Questions tagged [neko]

Neko is a cross-platform virtual machine that allows for the execution of both command-line and server-side Haxe applications.

Neko is a cross-platform virtual machine that allows for the execution of both command-line and server-side applications. The VM can be targeted using the programming language of the same name (Neko), or more commonly using Haxe.

55 questions
29
votes
3 answers

What is Neko anyway?

I have started to use Haxe to convert my ActionScript 3 projects into NME, but, I like to know please what is Neko in the world of Linux? I searched for it, I found its an animated cat! Can any one please explain to me?
simo
  • 23,342
  • 38
  • 121
  • 218
12
votes
3 answers

What alternatives to Hans Boehm GC are out there for small devices?

I'd like to use a virtual machine like NekoVM into a small device but to build it, it requires Boehm GC, however there is no port of that GC to that small device so I was wondering if there is any alternative to it, something that could be done…
Paulo Lopes
  • 5,845
  • 22
  • 31
11
votes
2 answers

Can't call getElementsByTagName on a node in Xerces or Neko?

hi all I'm trying to parse a DOM tree using Neko/Xerces in Java. NodeList divs = this.doc.getElementsByTagName("DIV"); for(int i=0; i < divs.getLength(); i++) { NodeList images = divs.item(i).parentNode().getElementsByTagName("IMG"); //…
James
  • 15,085
  • 25
  • 83
  • 120
9
votes
1 answer

NME Change the window title in C++ and Neko targets

I'm using NME to create a small game. I like to display the objective in the title bar in the Neko and C++ targets. Is that possible? Thanks.
Sri Harsha Chilakapati
  • 11,744
  • 6
  • 50
  • 91
7
votes
1 answer

What is meant by being "physically equal" in Haxe?

I've been playing around with Neko Modules, but I think I'm getting some inconsistent behaviour. var funcs = 0; var objs = 0; for (i in 0...m.globalsCount()) { var obj:Dynamic = m.getGlobal(i); if (Reflect.compareMethods(obj, init)) …
tienery
  • 172
  • 7
6
votes
1 answer

Error while assigning array to a row of multidimensional array

I'm writing on Haxe and targeting Neko. Today I've encountered this problem: var a:Array> = new Array>(); a[1] = [1, 2, 3]; The second line throws "Invalid array access" exception. Also it's impossible to iterate on row like…
Gulvan
  • 305
  • 2
  • 12
6
votes
1 answer

OpenFL and Lime does not run, because of a segmentation fault

Recently, I have found (on Mac OS X Mavericks) OpenFL and LIME (with the command line tools) not working due to a 'segmentation fault'. Before I get into the details, here's some background. I originally got Haxe + Neko from the installer provided…
hpm
  • 1,202
  • 13
  • 34
6
votes
2 answers

How to send HTTP PUT request from Haxe/Neko?

I have a server running under NekoVM which provide a RESTLike service. I am trying to send a PUT/DELETE request to this server using the following Haxe code : static public function main() { var req : Http = new…
Maxime Mangel
  • 1,906
  • 16
  • 18
5
votes
1 answer

Is Haxe really good for php-targetting server side development?

I have such a conception, to build a simple web application using some php/mysql hosting service. I'd also like to create a local version of that app. The local version should work similarly as the online one (i.d. using browser as the ui) and have…
Need4Steed
  • 2,170
  • 3
  • 22
  • 30
4
votes
1 answer

haxelib run can't start new threads?

I'm getting an exception when trying to use the haxelib run command on my test Haxelib: haxelib run haxelib-test D:\HaxeToolkit\haxe\std/neko/vm/Thread.hx:54: characters 20-71 : Can't create thread from within a macro Without threading everything…
Curly Brace
  • 515
  • 3
  • 13
4
votes
1 answer

Haxe+OpenFL->Neko, MouseEvent.xxxKey always false

I am making a game using Haxe+OpenFL. I had targeted js once ago, then I switched to neko and the following construction stopped working: if(e.shiftKey) do smth Ofc I've not changed this block of code, nor context since changing the target. What…
Gulvan
  • 305
  • 2
  • 12
4
votes
1 answer

How to use third part dll from Haxe

I'm starting project, and I will have to use external dll written on pure C. How to load external dll (NOT.Net libtaty, if it is important) to use it from Neko or Cpp target in Haxe?
kolonitsky
  • 124
  • 10
4
votes
1 answer

Create Transparent Windows in Haxe (Neko or Windows targets)

Im trying to make a simple OSX-like dock application using Haxe 3.1.3. I cant seem to work out how to make the main application window transparent (no titlebars, borders etc), as well as ignoring mouse events except on the icons themselves. Ideally…
Matthew
  • 952
  • 7
  • 20
3
votes
1 answer

Xml.nodeValue causes "Bad node type" error

class Main extends Sprite { public function new() { super(); try { var xml:Xml = Xml.parse("6"); trace(xml.nodeType); for (x in xml.elementsNamed("count")) …
Gulvan
  • 305
  • 2
  • 12
3
votes
1 answer

Method comparison fails in Neko but works on JavaScript

I have a pretty "simple" problem. class Main { public static function main() new Main(); public function new() { var a = callbackFunc; var b = callbackFunc; if (a == b) trace("success"); …
Kaothes
  • 31
  • 2
1
2 3 4