wechaty / bot5-assistant

BOT Friday Club Meeting Assistant BOT
https://friday.chatie.io
Apache License 2.0
3 stars 4 forks source link

Actor model (since 1973) & XState #1

Closed huan closed 2 years ago

huan commented 2 years ago

Update May 8, 2022

SLOC: 7,633

$ npx sloc src/ tests/

---------- Result ------------

            Physical :  12215
              Source :  7633
             Comment :  3369
 Single-line comment :  213
       Block comment :  3156
               Mixed :  13
 Empty block comment :  0
               Empty :  1226
               To Do :  7

Number of files read :  149

----------------------------

Update Apr 19, 2022

SLOC: 3575

We have moved Mailbox (with Duckula) to the mailbox NPM module

$ npx sloc application-actors/*.ts domain-actors/*.ts ioc/*.ts duck/*.ts services/*.ts to-text/*.ts  wechaty-actor/*.ts

---------- Result ------------

            Physical :  4568
              Source :  3575
             Comment :  523
 Single-line comment :  123
       Block comment :  400
               Mixed :  10
 Empty block comment :  0
               Empty :  480
               To Do :  3

Number of files read :  45

----------------------------

Update Jan 9, 2022

SLOC: 6,340

$ npx sloc actors/*.ts mailbox/*.ts schemas/*.ts
---------- Result ------------

            Physical :  6340
              Source :  4859
             Comment :  760
 Single-line comment :  184
       Block comment :  576
               Mixed :  8
 Empty block comment :  0
               Empty :  729
               To Do :  4

Number of files read :  47
----------------------------

Use XState with Actor model for managing our meeting with conversation turns, with the great Typed Inject Inverse of Control library.

Related links

image