Language Services

This is a family of services to process languages.

At this moment we offer a parser for COBOL and PL/SQL.

Basically, you make HTTP request sending code and we send back an Abstract Syntax Tree, in JSON.

You can use that to build all sort of services around your code.

For example:

Short version

You can get the AST of your code with this command:

curl -X POST --data "@/path/to/your/file.plsql" https://api.languageservices.dev/v1/parse/PLSQL

It will return back a JSON that looks like:

{
	"errors":[/* all the syntactic errors found in the code */],
	"root":{
		"type":"CompilationUnit",
		"position":{
			"description":"Position(start=Line 1, Column 0, end=Line 1, Column 544)",
			"start":{"line":1,"column":0},
			"end":{"line":1,"column":544}
		},
	    ...
	    ... all the rest of the AST
	    ...
	}
}

API Documentation

Can be found here: API Documentation

AST Documentation

The API returns an AST.

The format of the AST is documented here: