Importing text from other sources #121

Open
opened 3 years ago by Boarders · 2 comments
Boarders commented 3 years ago (Migrated from github.com)

Hi,

I am exploring whether pollen would be a good fit for a project and so wanted to know how easy it will be to import text from other files. In my particular use-case I am interested in incorporating literate agda or Haskell files in a larger pollen project and wondering how feasible that will be?

Thank you!

Hi, I am exploring whether pollen would be a good fit for a project and so wanted to know how easy it will be to import text from other files. In my particular use-case I am interested in incorporating literate agda or Haskell files in a larger pollen project and wondering how feasible that will be? Thank you!
mbutterick commented 3 years ago (Migrated from github.com)
#lang pollen

Decide for yourself whether this is easy:

◊(require racket/file)
◊(file->string "your_file.xyz")
``` #lang pollen Decide for yourself whether this is easy: ◊(require racket/file) ◊(file->string "your_file.xyz") ```
Boarders commented 3 years ago (Migrated from github.com)

Excellent, I think this will work perfectly and even better I will be able to parse the code blocks and literate blocks to then be able to customize them from the pollen side. Thanks very much for the quick answer, I think I was simply not remembering that pollen has a whole programming language with it :)

Excited to try a project with pollen!

Excellent, I think this will work perfectly and even better I will be able to parse the code blocks and literate blocks to then be able to customize them from the pollen side. Thanks very much for the quick answer, I think I was simply not remembering that pollen has a whole programming language with it :) Excited to try a project with pollen!
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen-users#121
Loading…
There is no content yet.