Skip to content

ifc-syntax-ast-parser 0.2.3

Install from the command line:
Learn more about npm packages
$ npm install @alanrynne/ifc-syntax-ast-parser@0.2.3
Install via package.json:
"@alanrynne/ifc-syntax-ast-parser": "0.2.3"

About this version

IFC to AST Parser based on Nearley.js

GitHub last commit Build Status codecov GitHub

IFC2AST is a helper package for the IFC Language Server I am developing as a complete overhaul of the IFC Syntax extension for VSCode.

This small package will generate an Abstract Syntax Tree (AST) of a given IFC file, to be consumed by the language server in order to provide functionality such as:

  • Go to definition
  • Go to symbol
  • Find references
  • Syntax error checking
  • Validation

The AST nodes can be traversed using the visitor pattern (which to be honest, I had no idea what it was until last week even though I've been using it for years! The perils of a self-taught programmer...).

The project is written in typescript and developed by myself, @AlanRynne.

Details


Assets

  • ifc-syntax-ast-parser-0.2.3.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all