Documentation ¶
Index ¶
Constants ¶
View Source
const LurkFileExtension = ".lurk"
Variables ¶
View Source
var ErrCircularImports = errors.New("circular imports")
Functions ¶
This section is empty.
Types ¶
type MacroPreprocessor ¶
type MacroPreprocessor struct {
// contains filtered or unexported fields
}
func NewMacroPreprocessor ¶
func NewMacroPreprocessor(opts ...Option) (*MacroPreprocessor, error)
func (*MacroPreprocessor) Preprocess ¶
func (p *MacroPreprocessor) Preprocess(lurkProgram string) (string, error)
type Option ¶
type Option func(cfg *config) error
Option is configuration option function for the MacroPreprocessor
func DependencyDir ¶
DependencyDir sets the dependency directory that is used to look up imported modules.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ParseSExpr ¶
Click to show internal directories.
Click to hide internal directories.