AMO model file parsing #1

Open
opened 2024-05-16 20:30:36 -04:00 by maxine · 2 comments
Collaborator

Probably should break down the loader/parser down into smaller functions to make parsing easier. This is mainly for the PREFIX INT type syntax where INT is N object. Example a 4 signifies 4 animations which need to be parsed.

Pseudo code for what I'm getting at to parse all animations then load them. It may be more memory efficient to take a more functional approach where we do a next, load the information, repeat until n is reached.
n = parse_a; for i=0; i <= n; i++ (parse_an -> parse_k -> parse_frame ); end

Probably should break down the loader/parser down into smaller functions to make parsing easier. This is mainly for the PREFIX INT type syntax where INT is N object. Example `a 4` signifies 4 animations which need to be parsed. Pseudo code for what I'm getting at to parse all animations then load them. It may be more memory efficient to take a more functional approach where we do a next, load the information, repeat until n is reached. ```n = parse_a; for i=0; i <= n; i++ (parse_an -> parse_k -> parse_frame ); end```
maxine self-assigned this 2024-05-16 20:30:44 -04:00
Author
Collaborator

Got this shit down. Still need to write the rest of it.

Got this shit down. Still need to write the rest of it.
Author
Collaborator

Did a lot of cleanup of the parsing code. Still need to finish it

Did a lot of cleanup of the parsing code. Still need to finish it
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Redacted/Collage#1
No description provided.