Skip to content

Commit

Permalink
re-add 'from hancho import *'
Browse files Browse the repository at this point in the history
  • Loading branch information
aappleby committed Mar 9, 2024
1 parent 6006a6b commit a1b1768
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.hancho
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# matcheroni/build.hancho
from hancho import *

print("Building Matcheroni with Hancho")

Expand Down
1 change: 1 addition & 0 deletions config/rules.hancho
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# matcheroni/config/rules.hancho
from hancho import *

#-------------------------------------------------------------------------------

Expand Down
1 change: 1 addition & 0 deletions examples/c_lexer/c_lexer.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# Matcheroni C lexer demo
from hancho import *

rules = load("config/rules.hancho")

Expand Down
1 change: 1 addition & 0 deletions examples/c_parser/c_parser.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# C parser example (not finished)
from hancho import *

rules = load("config/rules.hancho")
c_lexer = load("../c_lexer/c_lexer.hancho")
Expand Down
1 change: 1 addition & 0 deletions examples/ini/ini.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# INI parser example
from hancho import *

rules = load("config/rules.hancho")

Expand Down
1 change: 1 addition & 0 deletions examples/json/json.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# Matcheroni JSON parser example
from hancho import *

rules = load("config/rules.hancho")

Expand Down
1 change: 1 addition & 0 deletions examples/regex/regex.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# Matcheroni regex parsing example
from hancho import *

rules = load("config/rules.hancho")

Expand Down
1 change: 1 addition & 0 deletions examples/toml/toml.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# TOML parser example
from hancho import *

rules = load("config/rules.hancho")

Expand Down
1 change: 1 addition & 0 deletions examples/tutorial/tutorial.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# Tutorial examples
from hancho import *

rules = load("config/rules.hancho")
c_lexer = load("examples/c_lexer/c_lexer.hancho")
Expand Down
1 change: 1 addition & 0 deletions tests/tests.hancho
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#-------------------------------------------------------------------------------
# Tests
from hancho import *

rules = load("config/rules.hancho")

Expand Down

0 comments on commit a1b1768

Please sign in to comment.