c1949a99b0
Update amending example in tutorial ( #491 )
...
* Update amending example
* Make sure wood pigeon amends stock pigeon
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com >
---------
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com >
2024-05-17 13:05:28 +01:00
Gary Sassano and GitHub
2d31bc5ef5
Adjust filename according to style guide ( #484 )
2024-05-13 10:09:43 -07:00
Daniel Chao and GitHub
7da643fc8f
Handle null pathElements gracefully in message passing API ( #480 )
...
In messages "List Resources Response" and "List Modules Response",
if `pathElements` and `error` are both null, default to an empty list.
2024-05-08 07:22:57 -07:00
Philip K.F. Hölzenspies and GitHub
b5208a2b5b
Swap Kotlin/Groovy tab order in documentation ( #469 )
...
* Swap Kotlin/Groovy tab order in documentation
* Use Kotlin DSL repository extension function
2024-05-02 15:26:43 +01:00
Daniel Chao and GitHub
e28d747418
JDK version bump cleaups, bump minimum Gradle version to 8.1 ( #454 )
...
* Bump JDK when running simple gradle CI jobs
* Bump minimum Gradle version to 8.1
* Fix docs, and fix minimum version checker
2024-04-26 07:42:39 -07:00
Mitch Capper and Philip K.F. Hölzenspies
583dfc6927
Windows installation notes
2024-04-24 12:37:11 +02:00
translatenix and Daniel Chao
5de90d5868
Improve method.isConst() checks in InvokeMethodVirtualNode
...
- Check `method.isConst()` every time a method is resolved
instead of once per node instance (`isConstChecked`).
Given that `needsConst` only happens in very specific circumstances,
I'm not entirely sure if every resolved method needs to be checked.
However, it's a cleaner solution in any case, and `method.isConst()`
is a fast check that also never happens on the `evalCached` fast path.
- Do not check for const-ness of `FunctionN.apply` methods.
This check seems unnecessary and would always fail if triggered.
(According to `base.pkl`, none of the `FunctionN.apply` methods is const.)
- Remove unnecessary Truffle boundaries for modifier checks,
which are just bitwise operations.
- Improve const/import docs.
2024-04-19 15:35:57 -07:00
Phillip and GitHub
ccf95d2af1
Correct spelling and grammar issues in Language Reference ( #435 )
...
Changes include:
1. Spelling correction addressing #401
2. Grammer and punctuation corrections.
3. Rephrasing of some harder-to-read sentences. Most are simple one or two-word additions to make reading less jarring.
4. Changed hyphenation occurrences that included – rather than a regular hyphen-dash.
2024-04-17 16:44:19 -07:00
Lily Ballard and GitHub
889e64586a
Fix member links custom link text examples in language reference ( #427 )
2024-04-12 13:35:08 -07:00
translatenix and Philip K.F. Hölzenspies
2392a3c22f
Add quick link to standard library docs
...
Motivation:
The standard library docs are some of the most important docs
but currently very hard to find. I've noticed that even advanced
users have never heard of them and complain about "zero docs".
2024-04-05 12:38:55 +01:00
Daniel Chao and GitHub
58ed8242af
Fix links for downloading snapshot executables ( #391 )
...
Also, quote the URLs for better shell compatibility
2024-04-04 07:43:42 -07:00
translatenix and Philip K.F. Hölzenspies
3bd91b92ee
Fix "amends declaration vs. expression" mistakes in language reference
2024-04-03 19:06:54 +01:00
759d4806c0
Fix java/kotlin usage examples ( #372 )
...
Co-authored-by: Fruxz <28064149+TheFruxz@users.noreply.github.com >
2024-03-28 07:57:28 -07:00
Daniel Chao and GitHub
c28e478d5a
Fix links to pkl-go and pkl-swift repos ( #364 )
...
Using `xref` turns these links into fragments.
2024-03-27 12:30:41 -07:00
Daniel Chao and GitHub
4bdfe40816
Import release notes for 0.25.3 ( #365 )
...
This adds the release notes for 0.25.3 into CHANGELOG.
2024-03-27 11:56:29 -07:00
Malix and GitHub
5d0d2ce7a1
Add TOML to comparison page ( #337 )
...
Puts TOML next to JSON, XML, YAML
2024-03-19 09:14:56 -07:00
Zihlu Wang and GitHub
2bf1fa215a
Update pkl-config-java.adoc ( #340 )
...
Remove unpaired back curly bracket.
2024-03-19 09:13:46 -07:00
Zihlu Wang and GitHub
4ce7a82db5
Removed undeclared method reference in examples. ( #341 )
...
There is no method `evaluateText` in `ConfigEvaluator` or `ConfigEvaluatorImpl`.
2024-03-19 09:13:33 -07:00
d4wae89d498 and GitHub
3fb1f03780
Fix missing closing quotes in Local dependencies #298 ( #299 )
...
Fix missing closing quotes in 'Local Dependencies' section of index.adoc to ensure syntax correctness.
2024-03-07 10:42:10 -08:00
Daniel Chao and GitHub
4f3858aaaf
Docs fix: Container is not a type, add more types ( #282 )
...
Adjusts documentation to remove legacy `Container` type,
and add the rest of the generic types in the stdlib.
2024-03-04 07:49:44 -08:00
Daniel Chao and GitHub
d7196e1207
Docs fix: Java 8 is not supported ( #283 )
...
Java 11 is the minimum version, rather than 8.
2024-03-04 07:49:20 -08:00
Daniel Chao and GitHub
0ae9e0c5c0
Add homebrew instructions to docs ( #270 )
2024-02-29 11:02:36 -08:00
Daniel Chao and GitHub
b0161a4777
Add specification for language binding API ( #257 )
...
This adds documentation for how the language bindings works, for those that wish to create their own bindings.
2024-02-28 08:10:16 -08:00
translatenix and GitHub
b7b0e65cc6
Delete unused image ( #243 )
...
This image is not used anywhere.
2024-02-23 14:50:48 -08:00
Zack McCauley and Islon Scherer
8f130d8d49
Fix multiple output example code ( #205 )
2024-02-22 10:28:23 +01:00
Islon Scherer and GitHub
c652bbe5cd
fix typo in doc for Listing default ( #224 )
2024-02-21 18:56:11 +01:00
1cfcc5ec38
Fix incorrect filename in tutorial
...
The referenced filename should be `ispklTutorialPart3.pkl`, not `pklTutorial.pkl`.
Also, changes dates from 2023 to 2024
Co-authored-by: grant-abbott <gaabbott@apple.com >
2024-02-20 21:09:08 -08:00
translatenix and GitHub
6175d16d6a
Update Gradle syntax in docs ( #210 )
...
Replace the legacy "compile" scope with "implementation".
This matches Maven Central's recommended syntax:
https://central.sonatype.com/artifact/org.pkl-lang/pkl-core
2024-02-20 21:02:45 -08:00
Lily Ballard and GitHub
bbb4d828a0
Update Reserved keywords list in the Language Reference ( #171 )
...
`const` is not reserved, it has a meaning already. And `match` is not a keyword at all.
2024-02-19 13:37:47 +01:00
Philip K.F. Hölzenspies
a49526649d
Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
2024-02-13 21:30:18 +00:00
GrantA and Philip K.F. Hölzenspies
1b208f852c
Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
...
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com >
2024-02-13 21:30:18 +00:00
GrantA and Philip K.F. Hölzenspies
1a1d2f9908
Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
...
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com >
2024-02-13 21:30:18 +00:00
grant-abbott and Philip K.F. Hölzenspies
0b680be32b
Addressing documentation discrepancies from pkl examples.
2024-02-13 21:30:18 +00:00
Hoxell and Philip K.F. Hölzenspies
f2470f3e85
Apply suggested update to note on amending types
2024-02-13 21:16:06 +00:00
Freddy and Philip K.F. Hölzenspies
7d9603afd7
Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
...
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com >
2024-02-13 21:16:06 +00:00
Hoxell and Philip K.F. Hölzenspies
8c254a9976
Introduce Typed objects before referring to them
...
Currently, typed objects are only briefly mentioned in the sentence
stating that (typed) objects cannot be amended with new properties, only
existing ones. This is unnecessarily confusing since all examples up
until that point have been concerned with dynamic objects. Since the
tutorial goes on to amend a dynamic object with a new property in the
next section, a reader who isn't yet aware there are two types of
objects might be confused by what seems to be a contradiction.
2024-02-13 21:16:06 +00:00
Les Hill and Philip K.F. Hölzenspies
14dec716cf
Add details to show amending working when using modules
...
Running through the tutorial, the amending was stated in the tutorial text but not visible in the tutorial output since `parrot.pkl` was replacing all the members of `pigeon.pkl`.
2024-02-13 20:56:17 +00:00
Philip K.F. Hölzenspies
b3fb5dced6
Apply suggestions from code review
2024-02-13 16:57:12 +00:00
Hoxell and Philip K.F. Hölzenspies
4bf6d3069d
Fix mislabeled object name
2024-02-13 16:57:12 +00:00
Hoxell and Philip K.F. Hölzenspies
28d98b461b
Use object name instead of 'name' property
2024-02-13 16:57:12 +00:00
Hoxell and Philip K.F. Hölzenspies
99717c61af
Pigeon -> dodo
2024-02-13 16:57:12 +00:00
Daniel Chao and GitHub
6f915e5b90
Fix docs pointing to wrong maven repo ( #106 )
2024-02-12 08:24:22 -08:00
Dan Chao
0a3a618091
Remove line from changelog
...
This change got reverted prior to the release.
2024-02-08 17:33:26 -08:00
Dan Chao
5ce205c2c0
Update changelog for release 0.25.2
2024-02-08 17:33:19 -08:00
Daniel Chao and GitHub
97f4193c15
Fix more links ( #104 )
...
This fixes more documentation links that are producing 404's.
2024-02-08 15:20:02 -08:00
Ricardo Pinheiro and GitHub
20adac9919
Update Hidden Properties documentation ( #91 )
2024-02-07 21:15:53 -08:00
Daniel Chao and GitHub
52bc9612ea
Reword verbage to "pantry" ( #64 )
...
* Reword verbage to "pantry"
* Fix verbage
2024-02-07 19:40:43 -08:00
5a311d3b86
update 'Loading Modules' example to match config contents ( #84 )
...
Co-authored-by: Daniel Chao <dan.chao@apple.com >
2024-02-07 17:58:57 -08:00
Adrian Lanzafame and Philip K.F. Hölzenspies
e9df244485
fix concat operator and string typo
2024-02-07 20:23:51 +00:00
James Ward and Philip K.F. Hölzenspies
604bb83acb
Fix artifact name
2024-02-07 20:23:17 +00:00