diff --git a/config.json b/config.json index 7e158cde5..60c915854 100644 --- a/config.json +++ b/config.json @@ -1802,6 +1802,16 @@ "if-statements" ], "difficulty": 5 + }, + { + "slug": "dot-dsl", + "name": "DOT DSL", + "uuid": "03e1070d-a3ed-4664-9559-283e535c6bc4", + "practices": [], + "prerequisites": [ + "classes" + ], + "difficulty": 5 } ], "foregone": [ diff --git a/exercises/practice/dot-dsl/.docs/instructions.md b/exercises/practice/dot-dsl/.docs/instructions.md new file mode 100644 index 000000000..b3a63996d --- /dev/null +++ b/exercises/practice/dot-dsl/.docs/instructions.md @@ -0,0 +1,30 @@ +# Instructions + +A [Domain Specific Language (DSL)][dsl] is a small language optimized for a specific domain. +Since a DSL is targeted, it can greatly impact productivity/understanding by allowing the writer to declare _what_ they want rather than _how_. + +One problem area where they are applied are complex customizations/configurations. + +For example the [DOT language][dot-language] allows you to write a textual description of a graph which is then transformed into a picture by one of the [Graphviz][graphviz] tools (such as `dot`). +A simple graph looks like this: + + graph { + graph [bgcolor="yellow"] + a [color="red"] + b [color="blue"] + a -- b [color="green"] + } + +Putting this in a file `example.dot` and running `dot example.dot -T png -o example.png` creates an image `example.png` with red and blue circle connected by a green line on a yellow background. + +Write a Domain Specific Language similar to the Graphviz dot language. + +Our DSL is similar to the Graphviz dot language in that our DSL will be used to create graph data structures. +However, unlike the DOT Language, our DSL will be an internal DSL for use only in our language. + +More information about the difference between internal and external DSLs can be found [here][fowler-dsl]. + +[dsl]: https://en.wikipedia.org/wiki/Domain-specific_language +[dot-language]: https://en.wikipedia.org/wiki/DOT_(graph_description_language) +[graphviz]: https://graphviz.org/ +[fowler-dsl]: https://martinfowler.com/bliki/DomainSpecificLanguage.html diff --git a/exercises/practice/dot-dsl/.meta/config.json b/exercises/practice/dot-dsl/.meta/config.json new file mode 100644 index 000000000..223cbe117 --- /dev/null +++ b/exercises/practice/dot-dsl/.meta/config.json @@ -0,0 +1,19 @@ +{ + "authors": [ + "kahgoh" + ], + "files": { + "solution": [ + "src/main/java/DotDsl.java" + ], + "test": [ + "src/test/java/DotDslTest.java" + ], + "example": [ + ".meta/src/reference/java/DotDsl.java" + ] + }, + "blurb": "Write a Domain Specific Language similar to the Graphviz dot language.", + "source": "Wikipedia", + "source_url": "https://en.wikipedia.org/wiki/DOT_(graph_description_language)" +} diff --git a/exercises/practice/dot-dsl/.meta/src/reference/java/DotDsl.java b/exercises/practice/dot-dsl/.meta/src/reference/java/DotDsl.java new file mode 100644 index 000000000..bb8bf86dc --- /dev/null +++ b/exercises/practice/dot-dsl/.meta/src/reference/java/DotDsl.java @@ -0,0 +1,108 @@ +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class DotDsl { + private static class Element { + private final Map attributes = new HashMap<>(); + + public Element() { + } + + public Element(Map attributes) { + this.attributes.putAll(attributes); + } + + public Map getAttributes() { + return Collections.unmodifiableMap(attributes); + } + } + + public static class Graph extends Element { + + private final List nodes = new ArrayList<>(); + + private final List edges = new ArrayList<>(); + + public Graph() { + super(); + } + + public Graph(Map attributes) { + super(attributes); + } + + public Collection getNodes() { + return Collections.unmodifiableList(nodes); + } + + public Collection getEdges() { + return Collections.unmodifiableList(edges); + } + + public Graph node(String name) { + nodes.add(new Node(name)); + return this; + } + + public Graph node(String name, Map attributes) { + nodes.add(new Node(name, attributes)); + return this; + } + + public Graph edge(String start, String end) { + edges.add(new Edge(start, end)); + return this; + } + + public Graph edge(String start, String end, Map attributes) { + edges.add(new Edge(start, end, attributes)); + return this; + } + } + + public static class Node extends Element { + private final String name; + + public Node(String name) { + this.name = name; + } + + public Node(String name, Map attributes) { + super(attributes); + this.name = name; + } + + public String getName() { + return name; + } + } + + public static class Edge extends Element { + private final String start; + + private final String end; + + public Edge(String start, String end) { + this.start = start; + this.end = end; + } + + public Edge(String start, String end, Map attributes) { + super(attributes); + this.start = start; + this.end = end; + } + + public String getStart() { + return start; + } + + public String getEnd() { + return end; + } + } +} diff --git a/exercises/practice/dot-dsl/build.gradle b/exercises/practice/dot-dsl/build.gradle new file mode 100644 index 000000000..d2eca9ec7 --- /dev/null +++ b/exercises/practice/dot-dsl/build.gradle @@ -0,0 +1,23 @@ +plugins { + id "java" +} + +repositories { + mavenCentral() +} + +dependencies { + testImplementation platform("org.junit:junit-bom:5.10.0") + testImplementation "org.junit.jupiter:junit-jupiter" + testImplementation "org.assertj:assertj-core:3.25.1" +} + +test { + useJUnitPlatform() + + testLogging { + exceptionFormat = "full" + showStandardStreams = true + events = ["passed", "failed", "skipped"] + } +} diff --git a/exercises/practice/dot-dsl/gradle/wrapper/gradle-wrapper.jar b/exercises/practice/dot-dsl/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 000000000..e6441136f Binary files /dev/null and b/exercises/practice/dot-dsl/gradle/wrapper/gradle-wrapper.jar differ diff --git a/exercises/practice/dot-dsl/gradle/wrapper/gradle-wrapper.properties b/exercises/practice/dot-dsl/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 000000000..2deab89d5 --- /dev/null +++ b/exercises/practice/dot-dsl/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/exercises/practice/dot-dsl/gradlew b/exercises/practice/dot-dsl/gradlew new file mode 100755 index 000000000..1aa94a426 --- /dev/null +++ b/exercises/practice/dot-dsl/gradlew @@ -0,0 +1,249 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/exercises/practice/dot-dsl/gradlew.bat b/exercises/practice/dot-dsl/gradlew.bat new file mode 100644 index 000000000..93e3f59f1 --- /dev/null +++ b/exercises/practice/dot-dsl/gradlew.bat @@ -0,0 +1,92 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/exercises/practice/dot-dsl/src/main/java/DotDsl.java b/exercises/practice/dot-dsl/src/main/java/DotDsl.java new file mode 100644 index 000000000..217978e77 --- /dev/null +++ b/exercises/practice/dot-dsl/src/main/java/DotDsl.java @@ -0,0 +1,65 @@ +import java.util.Collection; +import java.util.Map; + +class DotDsl { + + static class Graph { + public Graph() { + } + + public Graph(Map attributes) { + } + + public Collection getNodes() { + throw new UnsupportedOperationException(); + } + + public Collection getEdges() { + throw new UnsupportedOperationException(); + } + + public Graph node(String name) { + throw new UnsupportedOperationException(); + } + + public Graph node(String name, Map attributes) { + throw new UnsupportedOperationException(); + } + + public Graph edge(String start, String end) { + throw new UnsupportedOperationException(); + } + + public Graph edge(String start, String end, Map attributes) { + throw new UnsupportedOperationException(); + } + + public Map getAttributes() { + throw new UnsupportedOperationException(); + } + } + + static class Node { + public String getName() { + throw new UnsupportedOperationException(); + } + + public Map getAttributes() { + throw new UnsupportedOperationException(); + } + } + + static class Edge { + public String getStart() { + throw new UnsupportedOperationException(); + } + + public String getEnd() { + throw new UnsupportedOperationException(); + } + + public Map getAttributes() { + throw new UnsupportedOperationException(); + } + } +} diff --git a/exercises/practice/dot-dsl/src/test/java/DotDslTest.java b/exercises/practice/dot-dsl/src/test/java/DotDslTest.java new file mode 100644 index 000000000..0a2c73a1e --- /dev/null +++ b/exercises/practice/dot-dsl/src/test/java/DotDslTest.java @@ -0,0 +1,112 @@ +import static java.util.Collections.emptyMap; +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.tuple; + +import java.util.Map; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +public class DotDslTest { + + @Test + @DisplayName("empty graph") + public void testEmptyGraph() { + DotDsl.Graph graph = new DotDsl.Graph(); + + assertThat(graph.getNodes()).isEmpty(); + assertThat(graph.getEdges()).isEmpty(); + assertThat(graph.getAttributes()).isEmpty(); + } + + @Test + @Disabled + @DisplayName("graph with one node") + public void testGraphWithOneNode() { + DotDsl.Graph graph = new DotDsl.Graph().node("a"); + + assertThat(graph.getNodes()) + .extracting("name", "attributes") + .containsExactly(tuple("a", emptyMap())); + assertThat(graph.getEdges()).isEmpty(); + assertThat(graph.getAttributes()).isEmpty(); + } + + @Test + @Disabled + @DisplayName("graph with one node with keywords") + public void testGraphWithOneNodeWithKeywords() { + DotDsl.Graph graph = new DotDsl.Graph().node("a", Map.of("color", "green")); + + assertThat(graph.getNodes()) + .extracting("name", "attributes") + .containsExactly(tuple("a", Map.of("color", "green"))); + assertThat(graph.getEdges()).isEmpty(); + assertThat(graph.getAttributes()).isEmpty(); + } + + @Test + @Disabled + @DisplayName("graph with one edge") + public void testGraphWithOneEdge() { + DotDsl.Graph graph = new DotDsl.Graph().edge("a", "b"); + + assertThat(graph.getNodes()).isEmpty(); + assertThat(graph.getEdges()) + .extracting("start", "end", "attributes") + .containsExactly(tuple("a", "b", emptyMap())); + assertThat(graph.getAttributes()).isEmpty(); + } + + @Test + @Disabled + @DisplayName("graph with one edge with keywords") + public void testGraphWithOneEdgeWithKeywords() { + DotDsl.Graph graph = new DotDsl.Graph().edge("a", "b", Map.of("color", "blue")); + + assertThat(graph.getNodes()).isEmpty(); + assertThat(graph.getEdges()) + .extracting("start", "end", "attributes") + .containsExactly(tuple("a", "b", Map.of("color", "blue"))); + assertThat(graph.getAttributes()).isEmpty(); + } + + @Test + @Disabled + @DisplayName("graph with one attribute") + public void testGraphWithOneAttribute() { + DotDsl.Graph graph = new DotDsl.Graph(Map.of("foo", "1")); + + assertThat(graph.getNodes()).isEmpty(); + assertThat(graph.getEdges()).isEmpty(); + assertThat(graph.getAttributes()).containsEntry("foo", "1"); + } + + @Test + @Disabled + @DisplayName("graph with attributes") + public void testGraphWithAttributes() { + DotDsl.Graph graph = new DotDsl.Graph(Map.of("foo", "1", "title", "Testing Attrs", "bar", "true")) + .node("a", Map.of("color", "green")) + .node("c") + .node("b", Map.of("label", "Beta!")) + .edge("b", "c") + .edge("a", "b", Map.of("color", "blue")); + + assertThat(graph.getNodes()) + .extracting("name", "attributes") + .containsExactlyInAnyOrder( + tuple("a", Map.of("color", "green")), + tuple("c", emptyMap()), + tuple("b", Map.of("label", "Beta!"))); + + assertThat(graph.getEdges()) + .extracting("start", "end", "attributes") + .containsExactlyInAnyOrder( + tuple("a", "b", Map.of("color", "blue")), tuple("b", "c", emptyMap())); + + assertThat(graph.getAttributes()) + .containsExactlyInAnyOrderEntriesOf( + Map.of("foo", "1", "title", "Testing Attrs", "bar", "true")); + } +} diff --git a/exercises/settings.gradle b/exercises/settings.gradle index c991919dc..a6686a473 100644 --- a/exercises/settings.gradle +++ b/exercises/settings.gradle @@ -57,6 +57,7 @@ include 'practice:difference-of-squares' // include 'practice:diffie-hellman' // deprecated include 'practice:dnd-character' include 'practice:dominoes' +include 'practice:dot-dsl' include 'practice:error-handling' include 'practice:etl' include 'practice:flatten-array'