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
3
votes
4 answers

Neko and haxe.Timer.delayed()

As every Haxe developer knows, you could use haxe.Timer.delayed() to delay function call for some time. But this function doesn't exist for Neko at all. Is there a way to achieve the same results?
vava
  • 24,851
  • 11
  • 64
  • 79
3
votes
2 answers

Can't use neko classes in a simple haxe program

The haxe code is very simple: Main.hx package nekotest; class Main { public static function main() { var name = neko.System.args()[0]; trace("Hello " + name); trace("Your name is " + Std.string(name.length) + "…
Freewind
  • 193,756
  • 157
  • 432
  • 708
2
votes
3 answers

Errors while compiling Neko VM OS X

I'm trying to compile the Neko VM on Mac OS X (10.5.7) using GCC 4.01 and I'm completely stuck, because it stops while compiling saying: vm/threads.c:202: error: conflicting types for 'neko_thread_register' vm/neko_vm.h:37: error: previous…
Robert Sköld
  • 752
  • 2
  • 9
  • 19
2
votes
1 answer

Is it possible to port Flashdevelop project from Openfl to Android?

I made a neko project for Windows using FlashDevelop. I want to see if I can port it for android without remaking code or too much of it. In the past I was able to port to hmtl5 without having to remake code. Of course making an APK is different and…
programc7r
  • 63
  • 6
2
votes
0 answers

Haxe/Neko exceptions when exiting a call to a C++ FFI that iterates over items in an abstract kind

When I return a value of abstract kind containing a vector from one FFI, and iterate over it in another FFI, there's an exception as the second FFI call finishes. I can access the items in the vector one by one without a problem, but iterating over…
ianxm
  • 81
  • 6
2
votes
1 answer

(Neko) "alc_cleanup: 1 device not closed" instead of error message

I'm making a game using Haxe and targeting neko. Any uncaught exception leads to alc_cleanup error. The problem is, this error blocks the output of the exception details. It's annoying because I use assertions so I can't find out which one threw an…
Gulvan
  • 305
  • 2
  • 12
2
votes
1 answer

Neko server, Neko/OpenFL client: std@socket_read exception

I'm beginner in the sockets and I'm writing a simple app to get started with. Server.hx: package; import neko.Lib; import sys.net.Host; import sys.net.Socket; class Main { static function main() { var s:Socket = new Socket(); …
Gulvan
  • 305
  • 2
  • 12
2
votes
2 answers

Get type of class field with null value in Haxe

Is it possible to get class of field with null value in haxe? The function "Type.getClass" gets class of value (setted at runtime), but I need to get class defined in a compilation-time. Function "getClassFields" returns only names of fields,…
Red Null
  • 143
  • 8
2
votes
1 answer

Neko hxssl not working for HTTPS

I'm working on a bigger project rewrite, with quite a big codebase already written in neko. One of the aspects of the project is a data scraper which would (during peak hours) have 100+ connections open to a WebSockets server. Originally, this was…
Aurel Bílý
  • 7,068
  • 1
  • 21
  • 34
2
votes
2 answers

Haxeflixel with Neko build, Screen size does not fit

I use Haxeflixel, choose build target Neko and Neko 64. I coded 1280 x 720 resolution but executed screen is not fit. change resoulution too. I just reinstall my os x yosemite system. is the reason it? I can not understand this situation var…
ChangJoo Park
  • 959
  • 1
  • 11
  • 29
1
vote
1 answer

How to configure nekohtml parser to properly close the anchor tag?

I'm using the nekohtml parser to parse my html code. Sometime my mistake while using anchor tag the content has been written like this. abc After parsing throough the nekohtml i want the…
Roshan
  • 2,019
  • 8
  • 36
  • 56
1
vote
2 answers

Fast server side image generation library?

For a web project I need the possibility to generate jpg and animated gif images very fast. As server platform I will use Linux and the NekoVM (behind a apache via mod_tora). As there is no library for image generation for Haxe and neko I am about…
TheHippo
  • 61,720
  • 15
  • 75
  • 100
1
vote
1 answer

Compiling NekoVM dll on win32

Neko is a virtual machine for the Haxe languge. I am having some problem with compiling it on win32. The version in question is neko-1.8.1.tar.gz, which can be downloaded from http://nekovm.org/download. There is a project file…
Noname
  • 11
  • 2
1
vote
1 answer

Building Haxe on Linux (Fedora 25)

I am trying to build the latest haxe from the GitHub source. At first I was getting this error. /bin/sh: nekotools: command not found Makefile:108: recipe for target 'haxelib' failed make: *** [haxelib] Error 127 I installed nekovm from the repos…
briguyjm
  • 43
  • 1
  • 3
  • 12
1
vote
1 answer

haxe MD5 wrong on flash platform

I try to get base64 encoded md5 hashed password with salt (salt is md5, I got base64 encoded) var pass = "hello"; var salt=haxe.crypto.Base64.encode(haxe.crypto.Md5.make(haxe.io.Bytes.ofString("hello"))); …