Javascript4D
A native JavaScript (ECMAScript 5.1) parser and interpreter written in Delphi/Object Pascal. Execute JavaScript code directly from your Delphi applications.
File Explorer
- JS4D.Demo.dpr
- JS4D.Demo.dproj
- JS4D.Demo.Main.dfm
- JS4D.Demo.Main.pas
- Javascript4D_R.dpk
- Javascript4D_R.dproj
- Javascript4D_R.dpk
- Javascript4D_R.dproj
- Javascript4D_R.dpk
- Javascript4D_R.dproj
- Javascript4D_R.dpk
- Javascript4D_R.dproj
- Javascript4D_R.dpk
- Javascript4D_R.dproj
- JS4D.Engine.pas
- JS4D.Errors.pas
- JS4D.Types.pas
- JS4D.Lexer.pas
- JS4D.Tokens.pas
- JS4D.AST.pas
- JS4D.Parser.pas
- JS4D.Builtins.pas
- JS4D.Interpreter.pas
- JS4D.Tests.Builtins.pas
- JS4D.Tests.dpr
- JS4D.Tests.dproj
- JS4D.Tests.Engine.pas
- JS4D.Tests.Lexer.pas
- JS4D.Tests.Parser.pas
- JS4D.Tests.res
- .gitattributes
- .gitignore
- GDK.Javascript4D.dspec
- Javascript4D.dpr
- Javascript4D.dproj
- Javascript4D.res
- LICENSE
- post-commit.txt
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
join
View Details ▼
join
Join lines of two sorted files on a common field.
join {{path/to/file1}} {{path/to/file2}}
Join two files on the first (default) field:
join -t ',' {{path/to/file1}} {{path/to/file2}}
Join two files using a comma (instead of a space) as the field separator:
join -1 {{3}} -2 {{1}} {{path/to/file1}} {{path/to/file2}}
Join field3 of file1 with field1 of file2:
pop
View Details ▼
pop
Send emails from your terminal.
pop
Launch the Text-based User Interface:
pop < {{path/to/message.md}} --from {{[email protected]}} --to {{[email protected]}} --subject "{{On the Subject of Ducks...}}" --attach {{path/to/attachment}}
Send an email using the content of a Markdown file as body:
pop --help
Display help:
shift
View Details ▼
shift
Move positional parameters.
shift
Remove the first positional parameter:
shift {{n}}
Remove the first `n` positional parameters:
split
View Details ▼
split
Split a file into pieces.
split {{[-l|--lines]}} 10 {{path/to/file}}
Split a file, each split having 10 lines (except the last split):
split -l 10 {{path/to/file}}
Split a file, each split having 10 lines (except the last split):
split {{[-n|--number]}} 5 {{path/to/file}}
Split a file into 5 files. File is split such that each split has same size (except the last split):
replace
View Details ▼
replace
Replace files.
See also: `robocopy`, `move`, `del`.
replace {{path\to\file_or_directory}} {{path\to\destination_directory}}
Replace the destination file with the one from the source directory:
replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /a
Add files to the destination directory instead of replacing existing files:
replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /p
Interactively copy multiple files, with a prompt before replacing or adding a destination file:
