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
1
vote
0 answers

Git bash/mingw32 not showing whole stderr

Given executable Sea.exe which throws an error to stderr, compare the two: Windows cmd.exe: D:\Dev\Sea\Export\windows\neko\debug\bin>Sea.exe Called from thx.fp._Map.Map_Impl_::$statics line 1 Called from ApplicationMain::main line 143 Called from…
Misiur
  • 5,019
  • 8
  • 38
  • 54
1
vote
0 answers

Haxe Map Memory Cleanup Issue

So I have been using Haxe for a while and it has occurred to me recently that I don't really get what happens on some other the non-flash targets as far as memory cleanup. I mean 'new'ing everything and dumping it by setting references to null gives…
MrJman006
  • 752
  • 10
  • 26
1
vote
0 answers

neko and windows compiled targets not showing up

I compile an openfl project from flashdevelop to neko. It says "Build successful" but I don´t get a neko window or anything. I see the .exe in my task manager but where is it? Same happens for windows target. flash, html, android, they all work.
1
vote
1 answer

Haxe compiled code doesn't run

I'm having trouble getting executables compiled from Haxe source to work on computers that don't have Haxe installed. The problem first appeared with a simple networking program but it seems to come up for any program at all. Even something…
1
vote
1 answer

Is it possible to have different signature?

I have the following code : class Test { static function main() { trace("Haxe is great!"); var api:Api = new Api(); api.doAdd(1,1); } } class Api { public function new(){} public function doAdd( x : Int, y…
Maxime Mangel
  • 1,906
  • 16
  • 18
1
vote
1 answer

deftrait producing NoSuchMethodException in Neko

I started going through tutorials for Neko and I wanted to create my own trait. I've been following the documentation on neko as described here but it keeps producing errors. To be more specific: ; Clojure code (ns main (:use [neko.activity :only…
Nathan
  • 55
  • 3
1
vote
1 answer

Why my sql comment parsing EReg expression not compile?

I have an sql querying tool that is written in Haxe and im trying to add some sql comment support to the code. Currently if a user has any comments (single line or multi line) the query fails on the server side. Thus, im trying to write a simple…
sWARm
  • 13
  • 2
1
vote
2 answers

neko vm ? need to download like jvm?

i new to neko vm. may i know in order to use it, i need to download the vm and install on client's browser? it is the same like java vm right? what is the different from java applet using jvm?
cometta
  • 35,071
  • 77
  • 215
  • 324
1
vote
1 answer

FDT5 Haxe Compilation Error "Uncaught exception - module.c(124) : Builtin not found : fasthash"

I am a user of FDT5 and getting this very strange Haxe compiler error when using v2.09 of Haxe and v1.8.2 of NekoVM. "Uncaught exception - module.c(124) : Builtin not found : fasthash" Can anyone help me resolve this error as can't compile my FDT5…
0
votes
2 answers

How to write contents of Document Object to String in NekoHTML?

I am using NekoHTML to parse contents of some HTML file.. Everything goes okay except for extracting the contents of the Document Object to some string. I've tried uses TransformerFactory transformerFactory =…
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
0
votes
1 answer

How to configure the Nekohtml html parser to turn
into

I'm evaluating the Nekothml parser among other Java HTML parsers, and I'm trying to make it replace all my
with
elements. Can this be done using the Nekohtml API? Any feedback is appreciated. Thanks.
Eugen
  • 8,523
  • 8
  • 52
  • 74
0
votes
1 answer

HaxeDevelop Openfl releasing to Neko .exe opens terminal console

... which shows & lists all the trace(); , boolean and int changes... How do I disable this terminal console from opening when I open the .exe generated through neko? Help sincerely appreciated!
Esa T. H.
  • 123
  • 1
  • 4
  • 18
0
votes
1 answer

HaxeFlixel: FlxSprite animation fails at runtime with Neko target

I have everything up to date and I'm using HaxeFlixel to experiment some assets import and automation. What I'm trying to accomplish is to get frames from a sprite sheet and automate the add.animation process. For example, I need the first row of…
filipp8
  • 33
  • 5
0
votes
1 answer

Is it possible to issue log messages from Neko to Apache logs?

When using the nekotools server for development, I get all messages in the console. Is it be possible to activate those messages in Apache logs on a server, for debugging purposes?
the_yellow_logo
  • 675
  • 5
  • 13
0
votes
1 answer

can't access getSystemService

I'm trying to call getSystemService (method of Activity) to access sensors, but looks like it doesn't exist. Here's the code I tried: (in-ns 'com....) ; Some Neko project (.getSystemService a) ; a is :def of Activity I even checked all the methods…
ivknv
  • 305
  • 1
  • 4
  • 14