aduros / browser.hx Goto Github PK
View Code? Open in Web Editor NEWJS externs for Haxe.
License: BSD 2-Clause "Simplified" License
JS externs for Haxe.
License: BSD 2-Clause "Simplified" License
I could not understand your readme guide to build js extern?
after check out
Build the preprocessed IDL database:
how to build this?
bin/build-database
Generate Haxe externs from the database:
how to Generate this?
bin/generate-haxe
Some methods in RenderingContext are missing. They all seem to return the type "any".
Now that Haxe is getting wildcard imports, it may be worth investigating whether it's better to have one class per file. Certainly it'll make generation a lot easier since dependencies between modules don't need to be tracked. It'll likely mean faster compilations too, since only used classes need to be parsed.
It's going to be a TON of files though ;)
It's missing arguments and overloads.
I get errors when trying to update to tags/Safari-538.7/Source/WebCore
It falls over on some unexpected syntax when parsing various idl files:
python bin/build-database
databasebuilder - INFO - importing interface Counter (source=WebKit)
databasebuilder - INFO - importing interface CSSCharsetRule (source=WebKit)
databasebuilder - INFO - skipping interface CSSFontFaceLoadEvent (source=WebKit)
databasebuilder - INFO - importing interface CSSFontFaceRule (source=WebKit)
Traceback (most recent call last):
File "bin/build-database", line 199, in
sys.exit(main())
File "bin/build-database", line 196, in main
return build_database(idl_files, database_dir, parallel=parallel)
File "bin/build-database", line 124, in build_database
builder.import_idl_files(idl_files, webkit_options, parallel)
File "bin\databasebuilder.py", line 45
5, in import_idl_files
idl_file = _load_idl_file(file_path, import_options)
File "bin\databasebuilder.py", line 76
, in _load_idl_file
% (file_name, e))
RuntimeError: Failed to load file bin..\WebCore\css\CSSHostRule.idl: At line 25
offset 86: Expected ")" or "," but "r" found: " [RaisesException] unsigned l
"ng insertRule([Default=Undefined] optional DOMString rule,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.