Skip to content
This repository

Home 

mkol edited this page · 6 revisions

Pages 4

Clone this wiki locally

Welcome to the test wiki! code

Framework

Issue Reason
Regular expressions Regular expressions created using Regex class must by compatible with JavaSript engine. Please use only use subset of features available in both. Do not use complex expressions like negative lookbehind or balancing groups (recursion). For fast comparssion of .NET regexp engine features and this in ECMA compilant implementation of JavaScript see table at http://www.regular-expressions.info/refflavors.html.
aposrtophe (`) character in string literals Apostrophe is not allowed in string literals, as it is used internally as escape character for encoding bytecode and delimiating various sections. It is currently not possible to escape it and use. Compiler should return error when trying to compile DLL with such literals. This character is allowed in string variables, just not in literals.
Loading address codes works only for primitive (IsPrimitive==true) types. Partial support for other ValueType parameters only for this implicit instance method parameter.
ldobj OpCode doesn't copy value - just loads value pointed by address. No need to copy since JavaScript have no value types (except literals).
ldobj OpCode doesn't copy value - just loads value pointed by address. No need to copy since JavaScript have no value types (except literals).
div OpCode (/ operator) applied to integers returns double. In JavaScript there is only one Number type for both integers and doubles. In .NET div OpCode is contextual w.r.t. stack arguments. In our Virtual Machine we don't remember types of elements at stack. In order to force integer result use MK.JavaScript.JS.Int method.
int x=5;
int y=2;
int z1=x/y; //z1 is 2.5 double value (int type is not remembered at client-side)
int z2=Int(x/y); //z2 is 2 integer value

Internet Explorer

v 7.0

Issue Reason
Frames are not supported. IE doesn't allow to append html element created using new Element(tagName) on different frame.
DOM modeling for <TABLE> not supported. IE bug: incorect behaviour of tableElement.Add() method and tableElement.InnerHTML property.

v 8.0

Issue Reason
lock(obj) is not supported when obj is Window. IE bug: delete operator not supported for window type.

cat/aaa

Something went wrong with that request. Please try again.