Skip to content

It seems that a global variable OMeta is required but not documented #2

@mingodad

Description

@mingodad

Testing this project I noticed that for the examples to work properly we need to declare a global variable OMeta instead of local when using it see bellow:

--local OMeta = require 'ometa'
OMeta = require 'ometa' --!!! instead of a local it seems we need a global here for the examples to work
local Calc = OMeta.doFile('calc.lpp') -- a name of a file containing the TableTreeCalc package
local tree = Calc.exp:matchString('2*(5+6)')

Thank you for your great work !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions