0.5 The namespace confusion (ftd, p-script, f-script) #1967
Replies: 2 comments 4 replies
-
I am generally fan of getting rid of This is why we are using the Why do we have both
No. Check this discussion I created: intuition behind the p-script / f-script - fastn is better SGML should answer this question. tldr: p-script is like HTML and f-script is like JavaScript (we do not have any CSS equivalent).
|
Beta Was this translation helpful? Give feedback.
-
Interesting that you did not mention javascript because we currently support js expressions inside |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
p-script
andf-script
as a concept are going to stay. But we also haveftd
which means the same thing asp-script
. The gotcha is that we use the namespaceftd
for various things (ftd.*
kernel components, http functions, misc types?). This raises a small issue that we now have so many names that might confuse the future user. The names are:p-script
is used as a concept in the spec so that might not become a word that we use in future docs unlikeftd
.The (in progress) spec overview suggests we need to call our language (
p-script
) something (I sayftd
) and there has to be a platform that is capable of leveraging this language to render a web-ui. The platform will provide a package manager, dev tools (linter, formatter etc). This same platform can later be extended to render native UIs for android etc (or some other platform, or a subset of this platform). In fact, it kinda makes sense to have multiple platforms that supportftd
(orp-script
) but target android/ios etc. The package manager for android is going to differ a lot from the package manager for the web... I'll not go into much details here. I want to keep this discussion to clear out the naming confusion that I have.Please answer the following questions:
Pick one between
ftd
andp-script
. This subset deals with processors, user defined components, kernel-components, f-script interop and the p1 grammar. Every language detail except FFI i.e.f-script
is addressed by this. Do we simply call thisfastn
and move on. Get rid offtd
? And usep-script
only in our spec?I feel like calling it
fastn
is good enough.fastn
is the one thing that you should care about! It is the language, it is the platform, itcan be used to build/install/distribute packages, it can be used to render on web or ios or other targets.
What is
f-script
btw?foreign-script?
Beta Was this translation helpful? Give feedback.
All reactions