Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize #4

Merged
merged 22 commits into from Mar 19, 2019
Merged

Serialize #4

merged 22 commits into from Mar 19, 2019

Conversation

loganwright
Copy link
Member

No description provided.

@loganwright loganwright self-assigned this Mar 5, 2019
@tanner0101 tanner0101 added the enhancement New feature or request label Mar 5, 2019
@tanner0101 tanner0101 added this to In Progress in Vapor 4 via automation Mar 5, 2019
Copy link
Member

@tanner0101 tanner0101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

Sources/LeafKit/LeafRenderer.swift Outdated Show resolved Hide resolved
Sources/LeafKit/LeafRenderer.swift Outdated Show resolved Hide resolved
Sources/LeafKit/LeafRenderer.swift Outdated Show resolved Hide resolved
Sources/LeafKit/LeafRenderer.swift Outdated Show resolved Hide resolved
Sources/LeafKit/LeafSerializer.swift Outdated Show resolved Hide resolved
@loganwright loganwright merged commit b0e820f into syntax-parse Mar 19, 2019
@penny-coin
Copy link

Hey @loganwright, you just merged a pull request, have a coin!

You now have 521 coins.

Vapor 4 automation moved this from In Progress to Done Mar 19, 2019
@loganwright loganwright deleted the serialize branch March 19, 2019 15:23
loganwright added a commit that referenced this pull request Apr 11, 2019
* remove a bit of recursion

* adding whitespace to lexer in parameters context

* some preprocess stuff working

* very much in progress going to try lexing out parameters

* seems to be parsing out properly

* will need to parse out and collect nested tags

* prints are no good, but working parsing

* preprocessing

* fixed lexer tests passing

* final test fixes

* cleaning up parser

* more parser cleanup

* trying more complex syntax

* more syntax comprehension

* more syntax comprehension

* more syntax comprehension

* syntax parsing complete, ready for compilation

* compilation and body collection starting

* making elements successfully

* parsing body and tests passing

* going to stick to linear syntax parsing, and group into blocks after

* evaluated code blocks

* adding types to alternate syntax

* finally added depth logging for better visualization

* adding more syntax comprehension

* preparing conditional chaining

* proper conditional linking

* conditionals linked properly

* loop ast and passing tests

* everything is printing well

* saving some progress on printing, need to build it out proper

* locking in parser

* updated to custom tag object

* removing extraneous syntax helpers

* code removal

* code removal building

* removing more

* more removals

* more

* parserr dead code done

* beginning extension resolutions

* light extension satisfaction start

* rsolving extensions

* compiling out extensions

* resolver tests passing

* starting w/ document resolver

* lazy resolution of inserted documents easier testing and manual uses

* better insert support for document loader

* removing dead code and some cleanup

* rename altParse => parse vestigial

* tests building, func name change

* improve printing to proper indent list

* all tests are now passing

* extend now logs alphabetical for clarity

* more little test cleanup

* more print testing

* moving to extend resolver more explicit

* privatize some things

* moving open context to val

* Render file load (#3)

* starting to prep serializer

* add template data object

* rough data object building

* async render file load recursive

* rm extraneous

* Serialize (#4)

* starting serialization on foor loops

* initial serialization working.. for loop render

* adding loop helpers, isfirst, islast

* use custom tag in processed param

* starting a bit of custom tag resolution

* adding demo custom tag lowercased

* conditional statements working

* slight test adjustment

* using alternative render for custom tags

* starting custom tag serialization

* expression resolution working w/ custom tags

* more moves to template data

* cleanup

* add serializer to render step

* cleaning up old leafdata in tests

* removing dead code

* make todo

* supporting nested params w parantheticals

* add + operator

* some slight renames and obs

* template data to leaf data

* parameter resolution supporting basic math operators

* update nio thread pool name

* [wip] (#8)

* lexer is building w characters

* tests passing w/ conversion to character

* modifiable global tag indicator

* adding column tracking and more lexer info

* lexer errors flushed out

* removing old leaf error

* name clarification regarding parameter declarations

* publicizing

* discard old error

* lexer error includes already lexed tokens for debugging

* slight test tweaks

* nio to 2.0 resolve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Vapor 4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants