Skip to content

[Question] Do defsyntax extensions like cata work in ClojureScript? #243

@volisoft

Description

@volisoft

Are defsyntax macros supposed to work in ClojureScript?

When running in ClojureScript browser environment the following example fails with "Cannot read properties of undefined" pointing to m/cata.

(ns test
  (:require [meander.epsilon :as m]))

(m/match [:tag 1 2 3]
  [:tag & ?rest] (m/cata ?rest)
  _ :nomatch)

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