Skip to content

kant2002/webidl-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebIDL parsing library in C#

Small library for parsing of WebIDL files and accessing their data from .NET application

using WebIdlCSharp;

var types = WebIdlParser.LoadTypesFromFile("vibration.json");

These JSON files could be generated using small NodeJS script from regular WebIDL files.

import webidl2 = require("webidl2");
import * as fs from "fs";

const content = fs.readFileSync(fileName);
const parsingStructure = webidl2.parse(content.toString());
fs.writeFileSync(outputFileName, JSON.stringify(parsingStructure, null, 2));

About

C# WebIDL parsing library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages