Skip to content

Support for Formatting #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 70 commits into from
Nov 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
1ed6c2f
Updated CHANGELOG for v2.2.2
gnikit Jun 30, 2021
10d0cd3
Incremented package version to 2.2.2
gnikit Jun 30, 2021
56f0072
Minor aesthetic improvements to CHANGELOG
gnikit Jun 30, 2021
04a317b
Adds OpenACC unit test
gnikit Jun 30, 2021
9aaadd1
Updated tasks and launch files
gnikit Jun 30, 2021
b7296b3
Fixes Remove unused packages #243
gnikit Jul 1, 2021
d448d10
Updated README badges
gnikit Jul 2, 2021
75a7ba4
Updated workflows to run on Ubuntu latest
gnikit Jul 2, 2021
4cd833b
Fix overzealous OpenMP regex.
gnikit Sep 16, 2021
24ba48c
Updating changelog.md
gnikit Sep 16, 2021
aa8ade4
New minor release
gnikit Sep 16, 2021
b64402a
Housekeeping
gnikit Sep 19, 2021
2b11a66
Added info to package.json
gnikit Oct 1, 2021
38caef9
Fixes in-house documentaiton hover
gnikit Oct 1, 2021
bc7a38d
Now the deocumentation displays correctly
gnikit Oct 1, 2021
d4b6cad
Formatting .json doc files with prettier
gnikit Oct 1, 2021
b6e840f
Updated README.md
gnikit Oct 1, 2021
f0e6af4
Adds VS marketplace automated release
gnikit Oct 2, 2021
83aa34f
Further improvements to the hover documentation
gnikit Oct 2, 2021
2adaa8d
further fixes for internal documentation
gnikit Oct 3, 2021
f1c2aa2
Adds autoclosing for strings
gnikit Oct 3, 2021
23e6437
Updates Fortran extensino and adds .pFUnit support
gnikit Oct 3, 2021
25eb5bb
Updates CHANGELOG.md
gnikit Oct 3, 2021
6537b38
Fixes preprocessor syntax highlighting
gnikit Oct 6, 2021
b5342a5
Preprocessor assignment i.e. = is not a thing
gnikit Oct 6, 2021
1086fe5
Preprocessor operator fixes
gnikit Oct 7, 2021
d214d53
Fixes Erroneous syntax highlighting, when argument is called "functio…
gnikit Oct 11, 2021
064bd20
Adds unittest for #207 and updates CHANGELOG
gnikit Oct 11, 2021
7f6706a
Adds syntax highlighting support for fypp
gnikit Oct 11, 2021
06af154
Add MIT license badge back to README
gnikit Oct 11, 2021
5bfbbe6
Adds names specific to individual scopes
gnikit Oct 11, 2021
a8f33f9
Fixes Erroneous syntax highlighting of if construct with tags #204
gnikit Oct 11, 2021
e9763d3
Updated CHANGELOG.md
gnikit Oct 11, 2021
5a6039d
Fixes STOP named_string #172
gnikit Oct 11, 2021
920ea64
Comments are correctly highlighted for type,...
gnikit Oct 12, 2021
801c7f3
Add syntax test for fixed form fortran
gnikit Oct 12, 2021
b221114
Switches to @types/vscode & @vscode/test-electron
gnikit Oct 15, 2021
3a35241
Updated changelog
gnikit Oct 15, 2021
595f10d
Updated yarn.lock
gnikit Oct 15, 2021
fd6c177
Increments version to 2.4.0
gnikit Oct 15, 2021
37cdec2
Updated tasks.json and launch.json
gnikit Oct 18, 2021
dd94666
Updated names of scopes to contain fortran
gnikit Oct 19, 2021
3d60be6
Fixes normal labeled construct end statements
gnikit Oct 19, 2021
f20856e
Adds error highlighting for else labeled
gnikit Oct 19, 2021
901bcb3
Upgraded package.json grammar update
gnikit Oct 19, 2021
caf2d46
Removes paths.ts which checks if binary is in PATH
gnikit Sep 21, 2021
d60ad88
Updates install tools.
gnikit Sep 21, 2021
8b72230
Adds formatting support
gnikit Sep 21, 2021
548ffd7
Installing `findent` through pip
gnikit Oct 1, 2021
3f426b2
Minor edit when installing a VSCode extension
gnikit Oct 1, 2021
0bc0f86
Renames `fortran_fixed-form` to `FortranFixedForm`
gnikit Oct 1, 2021
c186690
The extension would not activate for fixed form
gnikit Oct 1, 2021
17dce23
Linting now works with fixed form
gnikit Oct 1, 2021
4d2d08a
Added safeguard for fprettify and fixed Fortran
gnikit Oct 1, 2021
521dcd5
Updates README.md
gnikit Oct 1, 2021
4da11a2
Addresses review comments
gnikit Oct 14, 2021
202a962
Update to version 2.5.0
gnikit Oct 15, 2021
251fb79
Updates CHANGELOG after rebase
gnikit Oct 15, 2021
1041142
Merge branch 'master' into feature/formatting
gnikit Nov 9, 2021
264f7d2
Merge branch 'master' into feature/formatting
gnikit Nov 9, 2021
4586013
Merge branch 'master' into feature/formatting
gnikit Nov 9, 2021
5790bc4
Lint and format
gnikit Nov 10, 2021
cd132ca
Merge branch 'master' into feature/formatting
gnikit Nov 10, 2021
08e1832
Updates changelog
gnikit Nov 10, 2021
efacb05
Merge branch 'master' into feature/formatting
gnikit Nov 12, 2021
f2e7c21
Merge branch 'master' into feature/formatting
gnikit Nov 12, 2021
c14dae7
Merge branch 'master' into feature/formatting
gnikit Nov 12, 2021
d61c972
Merge branch 'master' into feature/formatting
gnikit Nov 16, 2021
ff7a2a1
Updates README by including formatting annimations
gnikit Nov 17, 2021
3dec046
Sets findent as the default formatter
gnikit Nov 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting .json doc files with prettier
  • Loading branch information
gnikit committed Oct 1, 2021
commit d4b6cad618914a9d1db9bf1df16c79f73d69c282
6 changes: 3 additions & 3 deletions src/docs/ABORT.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ABORT",
"docstr":"`ABORT` — Abort the program\n\n### Description\n`ABORT` causes immediate termination of the program. On operating\nsystems that support a core dump, `ABORT` will produce a core dump. \nIt will also print a backtrace, unless `-fno-backtrace` is given.\n\n\n\n### Syntax\n`CALL ABORT`\n\n\n### Return value\nDoes not return.\n\n\n\n### Example\n```\n\n\nprogram test_abort\n\n  integer :: i = 1, j = 2\n\n  if (i /= j) call abort\n\nend program test_abort\n\n```\n\n\n\n### Standard\nGNU extension\n\n\n\n### Class\nSubroutine\n\n\n\n### See also\n<a href=\"EXIT.html#EXIT\">EXIT</a>, <a href=\"KILL.html#KILL\">KILL</a>, <a href=\"BACKTRACE.html#BACKTRACE\">BACKTRACE</a>\n\n "
}
"keyword": "ABORT",
"docstr": "`ABORT` — Abort the program\n\n### Description\n`ABORT` causes immediate termination of the program. On operating\nsystems that support a core dump, `ABORT` will produce a core dump. \nIt will also print a backtrace, unless `-fno-backtrace` is given.\n\n\n\n### Syntax\n`CALL ABORT`\n\n\n### Return value\nDoes not return.\n\n\n\n### Example\n```\n\n\nprogram test_abort\n\n  integer :: i = 1, j = 2\n\n  if (i /= j) call abort\n\nend program test_abort\n\n```\n\n\n\n### Standard\nGNU extension\n\n\n\n### Class\nSubroutine\n\n\n\n### See also\n<a href=\"EXIT.html#EXIT\">EXIT</a>, <a href=\"KILL.html#KILL\">KILL</a>, <a href=\"BACKTRACE.html#BACKTRACE\">BACKTRACE</a>\n\n "
}
6 changes: 3 additions & 3 deletions src/docs/ABS.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ABS",
"docstr":"`ABS` — Absolute value\n\n### Description\n`ABS(A)` computes the absolute value of `A`.\n\n\n\n### Syntax\n`RESULT = ABS(A)`\n\n\n### Arguments\n\n \n,\n`REAL`, or `COMPLEX`.\n\n\n\n\n\n\n### Return value\nThe return value is of the same type and\nkind as the argument except the return value is `REAL` for a\n`COMPLEX` argument.\n\n\n\n### Example\n```\n\n\nprogram test_abs\n\n  integer :: i = -1\n\n  real :: x = -1.e0\n\n  complex :: z = (-1.e0,0.e0)\n\n  i = abs(i)\n\n  x = abs(x)\n\n  x = abs(z)\n\nend program test_abs\n\n```\n\n\n\n### Specific names\n\n \n | Name | Argument | Return type | Standard\n\n | `ABS(A)` | `REAL(4) A` | `REAL(4)` | Fortran 77 and later\n\n | `CABS(A)` | `COMPLEX(4) A` | `REAL(4)` | Fortran 77 and later\n\n | `DABS(A)` | `REAL(8) A` | `REAL(8)` | Fortran 77 and later\n\n | `IABS(A)` | `INTEGER(4) A` | `INTEGER(4)` | Fortran 77 and later\n\n | `ZABS(A)` | `COMPLEX(8) A` | `COMPLEX(8)` | GNU extension\n\n | `CDABS(A)` | `COMPLEX(8) A` | `COMPLEX(8)` | GNU extension\n\n\n\n\n\n### Standard\nFortran 77 and later, has overloads that are GNU extensions\n\n\n\n### Class\nElemental function\n\n\n"
}
"keyword": "ABS",
"docstr": "`ABS` — Absolute value\n\n### Description\n`ABS(A)` computes the absolute value of `A`.\n\n\n\n### Syntax\n`RESULT = ABS(A)`\n\n\n### Arguments\n\n \n,\n`REAL`, or `COMPLEX`.\n\n\n\n\n\n\n### Return value\nThe return value is of the same type and\nkind as the argument except the return value is `REAL` for a\n`COMPLEX` argument.\n\n\n\n### Example\n```\n\n\nprogram test_abs\n\n  integer :: i = -1\n\n  real :: x = -1.e0\n\n  complex :: z = (-1.e0,0.e0)\n\n  i = abs(i)\n\n  x = abs(x)\n\n  x = abs(z)\n\nend program test_abs\n\n```\n\n\n\n### Specific names\n\n \n | Name | Argument | Return type | Standard\n\n | `ABS(A)` | `REAL(4) A` | `REAL(4)` | Fortran 77 and later\n\n | `CABS(A)` | `COMPLEX(4) A` | `REAL(4)` | Fortran 77 and later\n\n | `DABS(A)` | `REAL(8) A` | `REAL(8)` | Fortran 77 and later\n\n | `IABS(A)` | `INTEGER(4) A` | `INTEGER(4)` | Fortran 77 and later\n\n | `ZABS(A)` | `COMPLEX(8) A` | `COMPLEX(8)` | GNU extension\n\n | `CDABS(A)` | `COMPLEX(8) A` | `COMPLEX(8)` | GNU extension\n\n\n\n\n\n### Standard\nFortran 77 and later, has overloads that are GNU extensions\n\n\n\n### Class\nElemental function\n\n\n"
}
6 changes: 3 additions & 3 deletions src/docs/ACCESS.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ACCESS",
"docstr":"`ACCESS` — Checks file access modes\n\n### Description\n`ACCESS(NAME, MODE)` checks whether the file `NAME`\nexists, is readable, writable or executable. Except for the\nexecutable check, `ACCESS` can be replaced by\nFortran 95's `INQUIRE`.\n\n\n\n### Syntax\n`RESULT = ACCESS(NAME, MODE)`\n\n\n### Arguments\n\n \n of default kind with the\nfile name. Tailing blank are ignored unless the character `achar(0)`is present, then all characters up to and excluding `achar(0)` are\nused as file name. \n\n | `MODE` | Scalar `CHARACTER` of default kind with the\nfile access mode, may be any concatenation of `\"r\"` (readable),\n`\"w\"` (writable) and `\"x\"` (executable), or `\" \"` to check\nfor existence.\n\n\n\n\n\n\n### Return value\nReturns a scalar `INTEGER`, which is `0` if the file is\naccessible in the given mode; otherwise or if an invalid argument\nhas been given for `MODE` the value `1` is returned.\n\n\n\n### Example\n```\n\n\nprogram access_test\n\n  implicit none\n\n  character(len=*), parameter :: file = 'test.dat'\n\n  character(len=*), parameter :: file2 = 'test.dat '//achar(0)\n\n  if(access(file,' ') == 0) print *, trim(file),' is exists'\n\n  if(access(file,'r') == 0) print *, trim(file),' is readable'\n\n  if(access(file,'w') == 0) print *, trim(file),' is writable'\n\n  if(access(file,'x') == 0) print *, trim(file),' is executable'\n\n  if(access(file2,'rwx') == 0) &amp;\n\n    print *, trim(file2),' is readable, writable and executable'\n\nend program access_test\n\n```\n\n\n\n### Specific names\n\n\n\n### Standard\nGNU extension\n\n\n\n### Class\nInquiry function\n\n\n\n### See also\n\n"
}
"keyword": "ACCESS",
"docstr": "`ACCESS` — Checks file access modes\n\n### Description\n`ACCESS(NAME, MODE)` checks whether the file `NAME`\nexists, is readable, writable or executable. Except for the\nexecutable check, `ACCESS` can be replaced by\nFortran 95's `INQUIRE`.\n\n\n\n### Syntax\n`RESULT = ACCESS(NAME, MODE)`\n\n\n### Arguments\n\n \n of default kind with the\nfile name. Tailing blank are ignored unless the character `achar(0)`is present, then all characters up to and excluding `achar(0)` are\nused as file name. \n\n | `MODE` | Scalar `CHARACTER` of default kind with the\nfile access mode, may be any concatenation of `\"r\"` (readable),\n`\"w\"` (writable) and `\"x\"` (executable), or `\" \"` to check\nfor existence.\n\n\n\n\n\n\n### Return value\nReturns a scalar `INTEGER`, which is `0` if the file is\naccessible in the given mode; otherwise or if an invalid argument\nhas been given for `MODE` the value `1` is returned.\n\n\n\n### Example\n```\n\n\nprogram access_test\n\n  implicit none\n\n  character(len=*), parameter :: file = 'test.dat'\n\n  character(len=*), parameter :: file2 = 'test.dat '//achar(0)\n\n  if(access(file,' ') == 0) print *, trim(file),' is exists'\n\n  if(access(file,'r') == 0) print *, trim(file),' is readable'\n\n  if(access(file,'w') == 0) print *, trim(file),' is writable'\n\n  if(access(file,'x') == 0) print *, trim(file),' is executable'\n\n  if(access(file2,'rwx') == 0) &amp;\n\n    print *, trim(file2),' is readable, writable and executable'\n\nend program access_test\n\n```\n\n\n\n### Specific names\n\n\n\n### Standard\nGNU extension\n\n\n\n### Class\nInquiry function\n\n\n\n### See also\n\n"
}
6 changes: 3 additions & 3 deletions src/docs/ACHAR.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ACHAR",
"docstr":"`ACHAR` — Character in <acronym>ASCII</acronym> collating sequence\n\n### Description\n`ACHAR(I)` returns the character located at position `I`in the <acronym>ASCII</acronym> collating sequence.\n\n\n\n### Syntax\n`RESULT = ACHAR(I [, KIND])`\n\n\n### Arguments\n\n \n. \n\n | `KIND` | (Optional) An `INTEGER` initialization\nexpression indicating the kind parameter of the result.\n\n\n\n\n\n\n### Return value\nThe return value is of type `CHARACTER` with a length of one. \nIf the `KIND` argument is present, the return value is of the\nspecified kind and of the default kind otherwise.\n\n\n\n### Example\n```\n\n\nprogram test_achar\n\n  character c\n\n  c = achar(32)\n\nend program test_achar\n\n```\n\n\n\n### Notes\nSee <a href=\"ICHAR.html#ICHAR\">ICHAR</a> for a discussion of converting between numerical values\nand formatted string representations.\n\n\n\n### Standard\nFortran 77 and later, with `KIND` argument Fortran 2003 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\n<a href=\"CHAR.html#CHAR\">CHAR</a>, <a href=\"IACHAR.html#IACHAR\">IACHAR</a>, <a href=\"ICHAR.html#ICHAR\">ICHAR</a>\n\n "
}
"keyword": "ACHAR",
"docstr": "`ACHAR` — Character in <acronym>ASCII</acronym> collating sequence\n\n### Description\n`ACHAR(I)` returns the character located at position `I`in the <acronym>ASCII</acronym> collating sequence.\n\n\n\n### Syntax\n`RESULT = ACHAR(I [, KIND])`\n\n\n### Arguments\n\n \n. \n\n | `KIND` | (Optional) An `INTEGER` initialization\nexpression indicating the kind parameter of the result.\n\n\n\n\n\n\n### Return value\nThe return value is of type `CHARACTER` with a length of one. \nIf the `KIND` argument is present, the return value is of the\nspecified kind and of the default kind otherwise.\n\n\n\n### Example\n```\n\n\nprogram test_achar\n\n  character c\n\n  c = achar(32)\n\nend program test_achar\n\n```\n\n\n\n### Notes\nSee <a href=\"ICHAR.html#ICHAR\">ICHAR</a> for a discussion of converting between numerical values\nand formatted string representations.\n\n\n\n### Standard\nFortran 77 and later, with `KIND` argument Fortran 2003 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\n<a href=\"CHAR.html#CHAR\">CHAR</a>, <a href=\"IACHAR.html#IACHAR\">IACHAR</a>, <a href=\"ICHAR.html#ICHAR\">ICHAR</a>\n\n "
}
6 changes: 3 additions & 3 deletions src/docs/ACOS.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ACOS",
"docstr":"`ACOS` — Arccosine function\n\n### Description\n`ACOS(X)` computes the arccosine of `X` (inverse of `COS(X)`).\n\n\n\n### Syntax\n`RESULT = ACOS(X)`\n\n\n### Arguments\n\n \n with a magnitude that is\nless than or equal to one - or the type shall be `COMPLEX`.\n\n\n\n\n\n\n### Return value\nThe return value is of the same type and kind as `X`. \nThe real part of the result is in radians and lies in the range\n0 \\leq \\Re \\acos(x) \\leq \\pi.\n\n\n\n### Example\n```\n\n\nprogram test_acos\n\n  real(8) :: x = 0.866_8\n\n  x = acos(x)\n\nend program test_acos\n\n```\n\n\n\n### Specific names\n\n \n | Name | Argument | Return type | Standard\n\n | `ACOS(X)` | `REAL(4) X` | `REAL(4)` | Fortran 77 and later\n\n | `DACOS(X)` | `REAL(8) X` | `REAL(8)` | Fortran 77 and later\n\n\n\n\n\n\n### Standard\nFortran 77 and later, for a complex argument Fortran 2008 or later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\nInverse function: <a href=\"COS.html#COS\">COS</a>\n\n "
}
"keyword": "ACOS",
"docstr": "`ACOS` — Arccosine function\n\n### Description\n`ACOS(X)` computes the arccosine of `X` (inverse of `COS(X)`).\n\n\n\n### Syntax\n`RESULT = ACOS(X)`\n\n\n### Arguments\n\n \n with a magnitude that is\nless than or equal to one - or the type shall be `COMPLEX`.\n\n\n\n\n\n\n### Return value\nThe return value is of the same type and kind as `X`. \nThe real part of the result is in radians and lies in the range\n0 \\leq \\Re \\acos(x) \\leq \\pi.\n\n\n\n### Example\n```\n\n\nprogram test_acos\n\n  real(8) :: x = 0.866_8\n\n  x = acos(x)\n\nend program test_acos\n\n```\n\n\n\n### Specific names\n\n \n | Name | Argument | Return type | Standard\n\n | `ACOS(X)` | `REAL(4) X` | `REAL(4)` | Fortran 77 and later\n\n | `DACOS(X)` | `REAL(8) X` | `REAL(8)` | Fortran 77 and later\n\n\n\n\n\n\n### Standard\nFortran 77 and later, for a complex argument Fortran 2008 or later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\nInverse function: <a href=\"COS.html#COS\">COS</a>\n\n "
}
4 changes: 2 additions & 2 deletions src/docs/ACOSD.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ACOSD",
"docstr":"`ACOSD` — Arccosine function, degrees\n\n### Description\nACOSD(X) computes the arccosine of X in degrees (inverse of COSD(X)).\nThis function is for compatibility only and should be avoided in favor of standard constructs wherever possible.\n### Standard\nGNU Extension, enabled with -fdec-math\n### Class\nElemental function\n### Syntax\nRESULT = ACOSD(X)\n### Arguments\n- X: The type shall either be REAL with a magnitude that is less than or equal to one - or the type shall be COMPLEX.\n### Return value\nThe return value is of the same type and kind as X. The real part of the result is in degrees and lies in the range 0 \\leq \\Re \\acos(x) \\leq 180.\n"
"keyword": "ACOSD",
"docstr": "`ACOSD` — Arccosine function, degrees\n\n### Description\nACOSD(X) computes the arccosine of X in degrees (inverse of COSD(X)).\nThis function is for compatibility only and should be avoided in favor of standard constructs wherever possible.\n### Standard\nGNU Extension, enabled with -fdec-math\n### Class\nElemental function\n### Syntax\nRESULT = ACOSD(X)\n### Arguments\n- X: The type shall either be REAL with a magnitude that is less than or equal to one - or the type shall be COMPLEX.\n### Return value\nThe return value is of the same type and kind as X. The real part of the result is in degrees and lies in the range 0 \\leq \\Re \\acos(x) \\leq 180.\n"
}
6 changes: 3 additions & 3 deletions src/docs/ACOSH.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ACOSH",
"docstr":"`ACOSH` — Inverse hyperbolic cosine function\n\n### Description\n`ACOSH(X)` computes the inverse hyperbolic cosine of `X`.\n\n\n\n### Syntax\n`RESULT = ACOSH(X)`\n\n\n### Arguments\n\n \n.\n\n\n\n\n\n\n### Return value\nThe return value has the same type and kind as `X`. If `X` is\ncomplex, the imaginary part of the result is in radians and lies between\n 0 \\leq \\Im \\acosh(x) \\leq \\pi.\n\n\n\n### Example\n```\n\n\nPROGRAM test_acosh\n\n  REAL(8), DIMENSION(3) :: x = (/ 1.0, 2.0, 3.0 /)\n\n  WRITE (*,*) ACOSH(x)\n\nEND PROGRAM\n\n```\n\n\n\n### Specific names\n\n \n | Name | Argument | Return type | Standard\n\n | `DACOSH(X)` | `REAL(8) X` | `REAL(8)` | GNU extension\n\n\n\n\n\n\n### Standard\nFortran 2008 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\nInverse function: <a href=\"COSH.html#COSH\">COSH</a>\n"
}
"keyword": "ACOSH",
"docstr": "`ACOSH` — Inverse hyperbolic cosine function\n\n### Description\n`ACOSH(X)` computes the inverse hyperbolic cosine of `X`.\n\n\n\n### Syntax\n`RESULT = ACOSH(X)`\n\n\n### Arguments\n\n \n.\n\n\n\n\n\n\n### Return value\nThe return value has the same type and kind as `X`. If `X` is\ncomplex, the imaginary part of the result is in radians and lies between\n 0 \\leq \\Im \\acosh(x) \\leq \\pi.\n\n\n\n### Example\n```\n\n\nPROGRAM test_acosh\n\n  REAL(8), DIMENSION(3) :: x = (/ 1.0, 2.0, 3.0 /)\n\n  WRITE (*,*) ACOSH(x)\n\nEND PROGRAM\n\n```\n\n\n\n### Specific names\n\n \n | Name | Argument | Return type | Standard\n\n | `DACOSH(X)` | `REAL(8) X` | `REAL(8)` | GNU extension\n\n\n\n\n\n\n### Standard\nFortran 2008 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\nInverse function: <a href=\"COSH.html#COSH\">COSH</a>\n"
}
6 changes: 3 additions & 3 deletions src/docs/ADJUSTL.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ADJUSTL",
"docstr":"`ADJUSTL` — Left adjust a string\n\n### Description\n`ADJUSTL(STRING)` will left adjust a string by removing leading spaces. \nSpaces are inserted at the end of the string as needed.\n\n\n\n### Syntax\n`RESULT = ADJUSTL(STRING)`\n\n\n### Arguments\n\n \n.\n\n\n\n\n\n\n### Return value\nThe return value is of type `CHARACTER` and of the same kind as\n`STRING` where leading spaces are removed and the same number of\nspaces are inserted on the end of `STRING`.\n\n\n\n### Example\n```\n\n\nprogram test_adjustl\n\n  character(len=20) :: str = ' gfortran'\n\n  str = adjustl(str)\n\n  print *, str\n\nend program test_adjustl\n\n```\n\n\n\n### Standard\nFortran 90 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\n<a href=\"ADJUSTR.html#ADJUSTR\">ADJUSTR</a>, <a href=\"TRIM.html#TRIM\">TRIM</a>\n"
}
"keyword": "ADJUSTL",
"docstr": "`ADJUSTL` — Left adjust a string\n\n### Description\n`ADJUSTL(STRING)` will left adjust a string by removing leading spaces. \nSpaces are inserted at the end of the string as needed.\n\n\n\n### Syntax\n`RESULT = ADJUSTL(STRING)`\n\n\n### Arguments\n\n \n.\n\n\n\n\n\n\n### Return value\nThe return value is of type `CHARACTER` and of the same kind as\n`STRING` where leading spaces are removed and the same number of\nspaces are inserted on the end of `STRING`.\n\n\n\n### Example\n```\n\n\nprogram test_adjustl\n\n  character(len=20) :: str = ' gfortran'\n\n  str = adjustl(str)\n\n  print *, str\n\nend program test_adjustl\n\n```\n\n\n\n### Standard\nFortran 90 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\n<a href=\"ADJUSTR.html#ADJUSTR\">ADJUSTR</a>, <a href=\"TRIM.html#TRIM\">TRIM</a>\n"
}
6 changes: 3 additions & 3 deletions src/docs/ADJUSTR.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"keyword":"ADJUSTR",
"docstr":"`ADJUSTR` — Right adjust a string\n\n### Description\n`ADJUSTR(STRING)` will right adjust a string by removing trailing spaces. \nSpaces are inserted at the start of the string as needed.\n\n\n\n### Syntax\n`RESULT = ADJUSTR(STRING)`\n\n\n### Arguments\n\n \n.\n\n\n\n\n\n\n### Return value\nThe return value is of type `CHARACTER` and of the same kind as\n`STRING` where trailing spaces are removed and the same number of\nspaces are inserted at the start of `STRING`.\n\n\n\n### Example\n```\n\n\nprogram test_adjustr\n\n  character(len=20) :: str = 'gfortran'\n\n  str = adjustr(str)\n\n  print *, str\n\nend program test_adjustr\n\n```\n\n\n\n### Standard\nFortran 95 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\n<a href=\"ADJUSTL.html#ADJUSTL\">ADJUSTL</a>, <a href=\"TRIM.html#TRIM\">TRIM</a>\n"
}
"keyword": "ADJUSTR",
"docstr": "`ADJUSTR` — Right adjust a string\n\n### Description\n`ADJUSTR(STRING)` will right adjust a string by removing trailing spaces. \nSpaces are inserted at the start of the string as needed.\n\n\n\n### Syntax\n`RESULT = ADJUSTR(STRING)`\n\n\n### Arguments\n\n \n.\n\n\n\n\n\n\n### Return value\nThe return value is of type `CHARACTER` and of the same kind as\n`STRING` where trailing spaces are removed and the same number of\nspaces are inserted at the start of `STRING`.\n\n\n\n### Example\n```\n\n\nprogram test_adjustr\n\n  character(len=20) :: str = 'gfortran'\n\n  str = adjustr(str)\n\n  print *, str\n\nend program test_adjustr\n\n```\n\n\n\n### Standard\nFortran 95 and later\n\n\n\n### Class\nElemental function\n\n\n\n### See also\n<a href=\"ADJUSTL.html#ADJUSTL\">ADJUSTL</a>, <a href=\"TRIM.html#TRIM\">TRIM</a>\n"
}
Loading