Commit Graph

9160 Commits

Author SHA1 Message Date
Kaamkiya
39543cf03c
[p5/en] Add more features of p5 to the tour (#4786)
* Update p5.html.markdown

Add a demo of the webgl rendering context, bouncing balls simulation, and more

* Update p5.html.markdown

* Add links to source 

and change to link to editor instead of specific sketch
2024-01-19 22:52:17 +01:00
ven
db576413e6
Update sed.html.markdown
Attempt to fix yet another 404
2024-01-19 10:21:03 +01:00
ven
483df5503b
Update tailspin.html.markdown
Go with C by lack of a better idea...
2024-01-19 09:42:01 +01:00
Enno
454c16ba2c
[vb/de] add german translation of visualbasic-es.vb (#4816)
* add german translation of visualbasic-de.vb

* apply kind suggestions by @nbehrnd

Update and rename visualbasic-de.vb to visualbasic-de.html.markdown

* use compact link with label

Markdown allows a shorter definition of a link with a label eventually
displayed e.g., after the conversion by pandoc to yield a html file. 
The equivalence in the result was checked with pandoc  (3.1.9) by

pandoc -s -i visualbasic-de.html.markdown -o test.html

subsequently displayed by firefox (version 115.6.0 esr).

---------

Co-authored-by: nbehrnd <nbehrnd@users.noreply.github.com>
2024-01-18 18:58:58 +01:00
ven
8a264b945a
Update cue.html.markdown
Try to fix https://github.com/adambard/learnxinyminutes-site/issues/113
2024-01-15 23:48:29 +01:00
ven
2dba5b1294
switch ballerina to java 2024-01-13 20:37:08 +01:00
Luke A. Guest
bfee8bccc6
[language/en] Add ada (#4821)
* Add initial Ada docs.

* Change wording.

* Update Empty.

* Remove old comments which have been added to the code.
Have one code block now.

* Update source.

* Add bash to the code block so I get syntax colouring in vscode.

* Add extra on context clauses.

* Update source.

* Add loops.

* Add a warning about the source.

* Update source.

* Add real-time to the description.

* Add info on aspects/contracts.

* Add links to RM.

* Add string/character/array.

* Update source.

* Add new package.

* Add extra info on what's left from Pascal.

* Add fixed/floats.

* Add link to the RM.
Change wording.

* Add distributed with link.

* Fix typo.

* Add a statement on package use.

* Add extra info re the warnings.

* Add more context re Pascal.

* Separate paragraphs.

* More clarification.

* Fix typo.

* Change aspect-oriented to contract-based.

* Add about having to download the gnat toolchain.

* Rejig paragraph.

* Add the extra run commands.

* Add Fer's changes.

* Fix typo.

* Remove extraneous ---, don't know how that got there.

* Fix filename.

* Remove extra comment.

* Remove another empty comment.

* Add back in the generic Swap which was removed for some reason.

* Correction on style.
GNAT definition added.

* Fix definition of starting index of strings.

* Add extra context and examples for String initialisation.

* Remove line to install the toolchain.
Add note about this.

* Add https://learn.adacore.com as a link.

* Add Fabien's contributor link for the extra context added in the previous commits.

* Fix typos.
Add better explanations.

* Add info on limited types.

* Fix typos.

* Add explanation of the generic parameter.

* Add a location of where I referenced OOP.

* Fix text.

* Remove markdown from comments.

* Remove comma.
2024-01-12 19:18:30 +01:00
Steve Huguenin
a57c72103d
[assemblyscript/en] Learn AssemblyScript in Y minutes (#4209)
* Learn AssemblyScript in Y minutes

AssemblyScript is based on TypeScript, therefore the tutorial is based on Learn Typescript in Y minutes

* Fixes for compliancy to contrib.md and Quick fix

80 characters line limit
Also return type for function

* Solve suggested changes

Changes were suggested by @SebastianSpeitel

* Adding examples on Array Type inference

As suggested by Max Graey

* Derived class use the extends keyword

Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

* Fix alert conventional signature

Co-authored-by: Max Graey <maxgraey@gmail.com>

* Removed Type Assertion

Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

* Fix dangling interfaces and namespace uses

Co-authored-by: Max Graey <maxgraey@gmail.com>
Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

* Export functions, classes and namespaces

AssemblyScript doesn't tell about errors in a non exported body

Co-authored-by: Max Graey <maxgraey@gmail.com>
Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

---------

Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>
Co-authored-by: Max Graey <maxgraey@gmail.com>
2024-01-11 09:32:53 +01:00
Torbjörn Gannholm
4d3f15e10e
[Tailspin/en] Add page for the Tailspin language (#4819)
* Add page for the Tailspin language

* [Tailspin/en] add more tutorial text
2024-01-02 21:25:11 +01:00
Mathieu Gemard
c0fa7cf2c6
[asymptotic-notation/en] Typo, add a missing n (#4820) 2024-01-01 13:47:02 +01:00
Luke Tong
ca852c8b7d
[ocaml/en] Update ocaml.html.markdown (#4818)
* Dune and Opam
immutability by default
records
@ append operator
‘a option type example
Tree type example
more detail in pattern matching (exhaustiveness)
is sorted and reverse list function examples
Higher order functions
transform and filter example
mutable records, refs

* fixed comment
2023-12-31 13:09:15 +01:00
ZUO Zhihua
e561b5bb54
[Fortran/en] [Fortran/zh-cn] Format the code, introduce the latest standard Fortran 2023 (#4814)
* Fortran: format code style and improve description

* Fortran: rename filenames, update Chinese version
2023-12-25 19:22:45 +01:00
ven
a91d6131c6
https://github.com/adambard/learnxinyminutes-site/pull/108
Didn't even check if ocaml was there...
2023-12-20 14:56:51 +01:00
ven
182d9b4a70
Update ATS.html.markdown
Try to fix it 404ing
2023-12-20 14:20:27 +01:00
bkkavin
e268272771
typo in learn x in y minutes python page (#4812) 2023-12-18 16:30:36 +01:00
谭九鼎
c478046e7b
[json/zh-cn] sync with en (#4044)
* [json/zh-cn] sync with en

* Update json-cn.html.markdown
2023-12-15 19:12:09 +08:00
André Martins
5cb2444db0
[kotlin/pt-pt]: Added Kotlin translation for pt-pt (#4808)
* Add kotlin pt-pt docs

* Fix indentation
2023-12-14 19:59:07 +01:00
Mohammed Ashour
05aa44a041
[python/en] adding an example for closures in python where we use the nonlocal … (#4033)
* adding an example for closures in python where we use the `nonlocal` keyword 

Adding an example for the case of nested functions with closure scopes, when we use the python 3s keyword 'nonlocal' to point to the variables in the outer functions

* Formatting Comments
2023-12-14 19:58:53 +01:00
John Gabriele
58d91b0ba3
[Janet/en] Update janet.html.markdown (#4283)
* Update janet.html.markdown

Minor edits.

* Update janet.html.markdown

* Update janet.html.markdown

A few more improvements.
2023-12-14 17:27:13 +01:00
Abirama Krishnan
51900f1838
Update docker.html.markdown with added spaces for clarity (#4807) 2023-12-14 16:36:05 +01:00
Mikhail Koviazin
6cf903f44e
Add forgotten asterisk in MyClass implementation (#4289)
Without it, the program doesn't compile:
```
Interface type cannot be statically allocated
```

Co-authored-by: Reverend Homer <mk.43.ecko@gmail.com>
2023-12-14 16:35:29 +01:00
Geo Maciolek
b73467ba0d
Formatting fixes (#4305) 2023-12-14 16:29:13 +01:00
Daniel Cox
c8727c1296
cue/en adding a CUE tutorial (#4300)
* adding a CUE tutorial

* minor fixes

* typo fix

* clearer scopes and references example

* adding explanation and link to built-ins

* removing misleading thing
2023-12-14 16:27:20 +01:00
Agostino Fiscale
01d241ea6e
[php-composer/it] Add new translation (#4101)
* [php-composer/it] Add new translation

* [php-composer/it] Improve translation and fix typo errors
2023-12-14 16:23:54 +01:00
Carlos Tafur
9e87e133a3
Update python.html.markdown (#4228)
I read somewhere that conventions in naming variables are snake_case and camelCase.
2023-12-14 16:23:10 +01:00
Mark Barbone
c5cacb5a51
Add documentation for ATS (#4089) 2023-12-14 16:21:00 +01:00
Diomidis Spinellis
4af74c44b1
Add sed page (#4187) 2023-12-14 16:16:03 +01:00
Nathaniel W Griswold
c2ba7b321f
[nix/en] Add @ syntax to set pattern matching section (#4170) 2023-12-14 16:13:20 +01:00
Yanis Zafirópulos
ad6b3df619
Add Arturo (#4161) 2023-12-14 16:12:25 +01:00
TehBrian
dec5d13cbf
[hocon/en] Add HOCON (#4149)
* Add HOCON

* Reorganize include section, cleanup
2023-12-14 16:11:09 +01:00
Jefferson Farias
3b2fc4f778
complete word in text (#4148) 2023-12-14 16:07:12 +01:00
Jefferson Farias
267ca9e2dc
Fix translation problem (#4147) 2023-12-14 16:06:55 +01:00
Moein Halvaei
52df31cb3f
[vim/fa-ir] Initial translation to Persian (farsi) (#4143)
* Add Learnvim for fa-ir

* Fix: snippets bug

* Translate new things

* Translate new things

* Translate more and fix typos

* Finish vim-fa translate =)
2023-12-14 16:05:55 +01:00
Greet
bc74b8ebe6
link pseudo classes info added (#4129) 2023-12-14 16:00:20 +01:00
Anjana Fernando
4289fab037
[ballerina/en] Add Ballerina Programming Language (#4085)
* Add Ballerina programming language

* Update Ballerina language code with objects and transactions information

* Fix code formatting

* Update code

* Fix code formatting
2023-12-14 15:59:22 +01:00
Jigyasa Grover
0b4ef82c31
[smalltalk/en]: Rectified code snippet and Updated contact info & disclaimer (#4112)
[smalltalk/en]: Rectified code snippet and Updated contact info & disclaimer
2023-12-14 15:58:19 +01:00
Matthew D. Scholefield
be771f6c2e
[forth/en] Clarify bounds of do and the difference between ?do vs do (#4058)
* Clarify bounds of do and ?do vs do

* Re-introduce square into example

---------

Co-authored-by: ven <vendethiel@hotmail.fr>
2023-12-14 15:56:16 +01:00
Florian Sesser
79538b5bcb
Remove spurious builtins. (#4086)
I am just getting started, but believe this `builtins.` name spacing here can go
2023-12-14 15:55:30 +01:00
Aaryan Rampal
9f317de120
[java/en] Update java.html.markdown (#4079)
* Update java.html.markdown

java/en

* Update java.html.markdown

---------

Co-authored-by: jus78help <76913929+jus78help@users.noreply.github.com>
2023-12-14 15:54:25 +01:00
AhmedOmarEissa
0179b04111
[sql/ar] Add translation (#4078)
* Create sql-ar.html.markdown

* Update sql-ar.html.markdown

* Update sql-ar.html.markdown

* sQL EDITS ONE

* SQL Update 2

* Finalising translation

* Update sql-ar.html.markdown

* adding arabic translation for SQL
2023-12-14 15:53:33 +01:00
Ersin Ertan
c5e7af574b
Change function's function param to correct syntax (#4065)
Ref: https://dart.dev/guides/language/sound-problems

Co-authored-by: ven <vendethiel@hotmail.fr>
2023-12-14 15:51:54 +01:00
Aliaksandr
e50a0fbacc
Update python-ru.html.markdown (#4064) 2023-12-14 15:50:34 +01:00
Aristides Milios
4daa2014c2
[rust/el-gr] Small fixes to Rust el-gr (#4060)
* Small fixes to Rust in el-gr

 spelling mistakes, reworded some descriptions

* Update rust-gr.html.markdown

* small correction
2023-12-14 15:50:07 +01:00
romsom
0d637dade2
toml: hex, octal and binary are valid integer formats (#4057)
Update the integer section to reflect the fact that hex, octal and binary representations are allowed in toml.

They were added to toml in version 0.5 and more work has to be done to update this document to that version, as mentioned here:
https://github.com/adambard/learnxinyminutes-docs/issues/3158
2023-12-14 15:49:26 +01:00
Liam Cooke
2f670a5a96
[forth/en] Fix expected result for one-to-12 loop (#4049) 2023-12-14 15:48:02 +01:00
钟泽源
51cbfef614
[cobol/zh-cn] (#4032)
* translate cobol.html.markdown to chinese version

* Update cobol-cn.html.markdown

* Update cobol-cn.html.markdown

* Update cobol-cn.html.markdown

* Update zh-cn/cobol-cn.html.markdown

Co-authored-by: 谭九鼎 <109224573@qq.com>

---------

Co-authored-by: GOLGO11 <@873200646@qq.com>
Co-authored-by: ven <vendethiel@hotmail.fr>
Co-authored-by: 谭九鼎 <109224573@qq.com>
2023-12-14 15:47:05 +01:00
David Whitten
88ce214756
expanded m.html.markdown (#4036)
Slightly re-arranged and including more explanations and links.
2023-12-14 15:46:30 +01:00
Nimmo
e74217e5cf
Union types > Custom types (#3884)
No longer referred to as "union types" in Elm. :) 

https://guide.elm-lang.org/types/custom_types.html
2023-12-14 15:44:25 +01:00
caminsha
cbbce7f185
[crystal/de-de] Translated crystal to German. (#3911)
* Started translation of crystal-lang

* continued with translation

* finished translation

* Replaced 'ss' with 'ß'

* Fixed some small typos
2023-12-14 15:42:53 +01:00
Julio Vanzelli
548117c36b
[d/pt-br] Translate D to pt-br (#3754)
* Translate D to pt-br

* Fix in d-pt.html.markdown

Correction in the initial table of the documentation.
2023-12-14 15:42:02 +01:00