-
Notifications
You must be signed in to change notification settings - Fork 6
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
Playground Book in iPad #102
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connected CLI to nef.framework
minor changes
49d6db9
to
64e5350
Compare
505ce63
to
2b962db
Compare
5f54ca4
to
5058e8f
Compare
abe459f
to
6c99d88
Compare
6c99d88
to
d3c6149
Compare
b7b560e
to
3947303
Compare
juancazalla
approved these changes
Nov 29, 2019
8fb13f7
to
7ebc0e8
Compare
update SPM simplify FP logic in addModules method
7ebc0e8
to
baeee4a
Compare
truizlop
requested changes
Dec 3, 2019
project/Component/NefSwiftPlayground/Algrebras/FileSystem.swift
Outdated
Show resolved
Hide resolved
project/Component/NefSwiftPlayground/Models/PlaygroundBookTemplate.swift
Show resolved
Hide resolved
truizlop
approved these changes
Dec 3, 2019
project/Component/NefSwiftPlayground/Models/PlaygroundBookTemplate.swift
Show resolved
Hide resolved
This was referenced Dec 4, 2019
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As a user, I would like to have Playgrounds with support for third party libraries in my iPad. I would like using
nef
generate aPlayground
with the whole dependencies compatible with my iPad.How is it implemented?
It has been developed in functional programming using Bow. The project has been split in
UI
andComponent
UI inside the
SwiftPlayground
folder you can find the command line script, in the end, it only gets the values from the command line and sends to Component (nef framework)Component in framework
NefSwiftPlayground
you can find the whole logic for building a Swift Playground with the whole dependencies.How is the project structured?
in command-line (bin folder - legacy)
nef
(bash) -- use nef-project UI or another bash scriptsin nef project (project folder)
UI (SwiftPlayground)
(CLI - main.swift)|-- connect to
Component (nef)
(umbrella fw to NefSwiftPlayground, NefMardown, NefJekyll, NefCarbon...)| -- using the
Core (render)
(playground page AST: CoreMarkdown, CoreJekyll, CoreCarbon...)PUBLIC
UI
- CLI scriptsComponents
- fw to use as a library (nef works as API umbrella)PRIVATE
Core
- renders the AST given a Playground pageHelpers -
nef
commands in Swift PlaygroundWe have added some commands to help development in iPad. Between them, you can find:
How can I use it?
we can build a Swift Playground with third-party libraries using the next command:
nef-swift-playground --package <package path> --to <output path> --name <swift-playground name>