Logo
Explore Help
Sign In
CyberMages/rune
1
0
Fork 0
You've already forked rune
Code Issues 1 Pull Requests Actions Packages Projects Releases Wiki Activity
rune/examples/example.md

7 lines
166 B
Markdown
Raw Normal View History

[#3] TokenStream now hold generic variants. This makes it so that the TokenStream and all it's associated Token types use a generic when dealing with the variant of the Token. Span was also given the ability to merge with another span. This will make it easier to track the span as users group TokenTypes together to make their domain specific types. All tests and examples were updated for this change. The version was incremented to 0.2.0.
2025-04-16 01:54:22 -04:00
# Example File
This is an example file for Rune.
## Rune
[#2] A data-oriented Lexer. I took the Token module from the Arcanum project and brought it over to here. It was a nice data oriented way of handling the Tokens. I then created a Lexer that can scan a file or text and allow the user to transform the scanned tokens before the final token array is returned. This should allow for more complex and specific tokens to be created for whatever domain is being targeted. I also added basic library examples and testing. Finally, I made sure the documentation generated nicely. This is now marked as version: 0.1.0
2025-04-15 21:17:28 -04:00
The name Rune is inspired by arcane glyphs — ancient symbols holding deep meaning.
Just like your tokens!
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.3 Page: 1122ms Template: 29ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API