Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: docs/language/dartLangSpec.tex

Issue 1170393002: Make package: URI schema implementation dependent per latest DEP. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 \documentclass{article} 1 \documentclass{article}
2 \usepackage{epsfig} 2 \usepackage{epsfig}
3 \usepackage{color} 3 \usepackage{color}
4 \usepackage{dart} 4 \usepackage{dart}
5 \usepackage{bnf} 5 \usepackage{bnf}
6 \usepackage{hyperref} 6 \usepackage{hyperref}
7 \usepackage{lmodern} 7 \usepackage{lmodern}
8 \newcommand{\code}[1]{{\sf #1}} 8 \newcommand{\code}[1]{{\sf #1}}
9 \title{Dart Programming Language Specification \\ 9 \title{Dart Programming Language Specification \\
10 {\large Version 1.10}} 10 {\large Version 1.10}}
(...skipping 6887 matching lines...) Expand 10 before | Expand all | Expand 10 after
6898 This specification does not discuss the interpretation of URIs, with the followi ng exceptions. 6898 This specification does not discuss the interpretation of URIs, with the followi ng exceptions.
6899 6899
6900 \rationale{ 6900 \rationale{
6901 The interpretation of URIs is mostly left to the surrounding computing environm ent. For example, if Dart is running in a web browser, that browser will likely interpret some URIs. While it might seem attractive to specify, say, that URIs a re interpreted with respect to a standard such as IETF RFC 3986, in practice thi s will usually depend on the browser and cannot be relied upon. 6901 The interpretation of URIs is mostly left to the surrounding computing environm ent. For example, if Dart is running in a web browser, that browser will likely interpret some URIs. While it might seem attractive to specify, say, that URIs a re interpreted with respect to a standard such as IETF RFC 3986, in practice thi s will usually depend on the browser and cannot be relied upon.
6902 } 6902 }
6903 6903
6904 \LMHash{} 6904 \LMHash{}
6905 A URI of the form \code{dart:$s$} is interpreted as a reference to a system libr ary (\ref{imports}) $s$. 6905 A URI of the form \code{dart:$s$} is interpreted as a reference to a system libr ary (\ref{imports}) $s$.
6906 6906
6907 \LMHash{} 6907 \LMHash{}
6908 A URI of the form \code{package:$s$} is interpreted as a URI of the form \code{p ackages/s} relative to an implementation specified location. 6908 A URI of the form \code{package:$s$} is interpreted in an implementation specifi c manner.
6909
6910 \commentary{
6911 This location will often be the location of the root library presented to the Da rt compiler. However, implementations may supply means to override or replace th is choice.
6912 }
6913 6909
6914 \rationale{ 6910 \rationale{
6915 The intent is that, during development, Dart programmers can rely on a package m anager to find elements of their program. Such package managers may provide a di rectory structure starting at a local directory \code{packages} where they place the required dart code (or links thereto). 6911 The intent is that, during development, Dart programmers can rely on a package m anager to find elements of their program.
6916 } 6912 }
6917 6913
6918 \LMHash{} 6914 \LMHash{}
6919 Otherwise, any relative URI is interpreted as relative to the the location of th e current library. All further interpretation of URIs is implementation dependen t. 6915 Otherwise, any relative URI is interpreted as relative to the the location of th e current library. All further interpretation of URIs is implementation dependen t.
6920 6916
6921 \commentary{This means it is dependent on the embedder.} 6917 \commentary{This means it is dependent on the embedder.}
6922 6918
6923 6919
6924 \section{Types} 6920 \section{Types}
6925 \LMLabel{types} 6921 \LMLabel{types}
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
7801 7797
7802 The invariant that each normative paragraph is associated with a line 7798 The invariant that each normative paragraph is associated with a line
7803 containing the text \LMHash{} should be maintained. Extra occurrences 7799 containing the text \LMHash{} should be maintained. Extra occurrences
7804 of \LMHash{} can be added if needed, e.g., in order to make 7800 of \LMHash{} can be added if needed, e.g., in order to make
7805 individual \item{}s in itemized lists addressable. Each \LM.. command 7801 individual \item{}s in itemized lists addressable. Each \LM.. command
7806 must occur on a separate line. \LMHash{} must occur immediately 7802 must occur on a separate line. \LMHash{} must occur immediately
7807 before the associated paragraph, and \LMLabel must occur immediately 7803 before the associated paragraph, and \LMLabel must occur immediately
7808 after the associated \section{}, \subsection{} etc. 7804 after the associated \section{}, \subsection{} etc.
7809 7805
7810 ---------------------------------------------------------------------- 7806 ----------------------------------------------------------------------
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698