DWScript
DWScript (DelphiWebScript) is a strongly-typed object-oriented scripting language based on the Delphi language, with extensions borrowed from other Object Pascal dialects. DWScript programming typically involves less code than classic Pascal due to the availability of type inference and inline declarations, though classic Object Pascal code is largely supported.
See Also
- Wikipedia: Object Pascal
- DWScript at Google Code: https://code.google.com/p/dwscript/
Tasks
- 100 doors
- A+B
- Abstract type
- Ackermann function
- Arithmetic/Integer
- Array length
- Arrays
- Assertions
- Bitwise operations
- Boolean values
- Case-sensitivity of identifiers
- Character codes
- Cholesky decomposition
- Classes
- Comments
- Compile-time calculation
- Conditional structures
- Copy a string
- Count in factors
- Death Star
- Dot product
- Draw a sphere
- Empty string
- Enumerations
- Even or odd
- Exceptions
- Exceptions/Catch an exception thrown in a nested call
- Execute HQ9+
- Factorial
- Fibonacci sequence
- Find limit of recursion
- FizzBuzz
- Function definition
- Gray code
- Happy numbers
- Hello world!
- Hello world/Newline omission
- Hello world/Text
- Here document
- Higher-order functions
- Horizontal sundial calculations
- Include a file
- Increment a numerical string
- Inheritance/Multiple
- Inheritance/Single
- Integer sequence
- Jensen's Device
- Knuth shuffle
- Leap year
- Least common multiple
- Levenshtein distance
- Literals/Integer
- Literals/String
- Logical operations
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Infinite
- Loops/N plus one half
- Loops/While
- Lucas-Lehmer test
- Mandelbrot set
- Multiplication tables
- Null object
- One-dimensional cellular automata
- Pascal's triangle
- Random number generator (included)
- Random numbers
- Range expansion
- Range extraction
- Real constants and functions
- Repeat a string
- Reverse a string
- Roman numerals/Encode
- Roots of a function
- SHA-1
- SHA-256
- Search a list
- Sierpinski carpet
- Sierpinski triangle
- Sieve of Eratosthenes
- Sort an integer array
- Sorting algorithms/Gnome sort
- Special variables
- Stack
- Stack traces
- String case
- String concatenation
- String interpolation (included)
- Strip comments from a string
- Strip whitespace from a string/Top and tail
- Sum of a series
- System time
- Unicode strings
- Unicode variable names
- Variables
- Yin and yang