🇬🇧
Styio Developer Manual
English
English
  • Overview
  • Unka's Diary
    • 2024-2025
  • Dev Env
    • Introduction
    • Preparation
      • Windows
      • Linux
      • MacOS
    • LLVM
    • Docker
      • Pull Image
      • Create Container
      • Versions
      • Others
    • Visual Studio Code
    • MSVC
  • Rules
    • 1. Pay only what you need.
  • Milestones
    • Task Board
    • History
    • IF YOU DON'T KNOW WHAT TO DO
  • Possible Optimizations
    • Parse URLs
  • Dark Magic
    • Enable Hyper-V
  • Thinking
    • Add A New AST
    • Decisions
    • Questions
    • Other Questions
    • Value
    • Outcome
Powered by GitBook
On this page
  • 2024/08/25 (Sunday)
  • 2024/08/11 (Sunday)
  1. Unka's Diary

2024-2025

2024/08/25 (Sunday)

  1. I decided to build a token-based parser to substitute the string based parser.

  2. Add a method (check_seq_of) to StyioContext to recognize if a token occurs repeatly.

  3. Add StyioTokenMap to map derived tokens to fundamental tokens.

2024/08/11 (Sunday)

  1. I realized that styio needs a way to express a backward filling operation. The code below illustrates a way to extract certain intermediate values from a sequence of data operations.

(a, b) << @("some") => {
    onething -> a
    another -> b
}
  1. I realized that the previous syntax of verbatim string conflicts with the syntax of resources and may lead to ambiguity. Therefore, I removed verbatim string and hope there will be a better way to fix this problem.

@"verbatim.string"
@("file")

For now, I think backtick ` might a good idea.

`\this \is \a \vertatim \string \n`
  1. Resource identifiers @("") are designed to represent files and network addresses, and they must be accessible.

  2. I added a map for binary operations to eliminate switch cases in C++ code.

  3. I added a command line option --debug , which controls whether to display debug information.

  4. I decided to write weekly reports to record what has been changed this week.

PreviousOverviewNextIntroduction

Last updated 8 months ago