This website works better with JavaScript.
Explore
Help
Register
Sign In
garrit
/
sabre
mirror of
https://git.sr.ht/~garritfra/sabre
Watch
1
Star
0
Fork
You've already forked sabre
0
Code
Issues
Projects
Releases
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
243
Commits
9
Branches
11
Tags
787 KiB
Tree:
7810052c56
assignment-operators
c_for-loops
clippy-fix
github-actions
llvm-integration
master
match-statements
modules
structs
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.1.0
v0.1.1
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '7810052c56'
${ noResults }
sabre
/
tests
/
importable_module
/
foo
/
bar.sb
5 lines
88 B
Raw
Normal View
History
Unescape
Escape
Modules (#17) * chore: rename program -> module * feat: add module builder * feat: append standard library * chore: fix clippy warnings * chore: fix formatting * feat: imports * chore: fix formatting * feat: resolve path deltas to entrypoint * chore: fix formatting * fix: path resolver * chore: refactor stdlib * docs: document modules * docs: add "unreleased" section to changelog * docs: add modules as unreleased bullet in changelog * feat: resolve nested modules * fix: clean up file resolvement * chore: fix clippy lints
3 years ago
import "baz"
fn nested_module() {
println("A deeply nested function was called!")
}