<p align="center">
<a href="https://dictu-lang.com">
<img src="logo.png" alt="Dictu logo" width="560px">
</a>
</p>
--------------------------------------------------------------------------------
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ab84059049bd4ba7b7b8c1fcfaac4ea5)](https://app.codacy.com/manual/jasonhall96686/Dictu?utm_source=github.com&utm_medium=referral&utm_content=Jason2605/Dictu&utm_campaign=Badge_Grade_Dashboard)
[![CI](https://github.com/Jason2605/Dictu/workflows/CI/badge.svg)](https://github.com/Jason2605/Dictu/actions)
*What is Dictu?*
Dictu is a very simple dynamically typed programming language
built upon the [craftinginterpreters tutorial](http://www.craftinginterpreters.com/contents.html).
*What does Dictu mean?*
Dictu means `simplistic` in Latin.
### Dictu documentation
Documentation for Dictu can be found [here](https://dictu-lang.com/)
Github repository for Dictu can be found [here](https://github.com/dictu-lang/Dictu)
## Running Dictu
```bash
$ git clone https://github.com/Jason2605/Dictu.git
$ cd Dictu
$ make dictu
$ ./dictu examples/guessingGame.du
```
### Compiling without HTTP
The HTTP class within Dictu requires [cURL](https://curl.haxx.se/) to be installed when building the interpreter. If you wish to
build Dictu without cURL, and in turn the HTTP class, build with the `DISABLE_HTTP` flag.
```bash
$ git clone https://github.com/Jason2605/Dictu.git
$ cd Dictu
$ make dictu DISABLE_HTTP=1
$ ./dictu examples/guessingGame.du
```
## Example program
```js
var userInput;
var guess = 10;
while {
userInput = input("Input your guess: ").toNumber();
print(userInput);
if (userInput == guess) {
print("Well done!");
break;
} else if (userInput < guess) {
print("Too low!");
} else {
print("Too high!");
}
System.sleep(1);
}
```
More [here.](https://github.com/Jason2605/Dictu/tree/develop/examples)
没有合适的资源?快使用搜索试试~ 我知道了~
算法和代码片段的多语言集合。_C++_Java_下载.zip
共705个文件
cpp:165个
java:74个
c:70个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 187 浏览量
2023-04-25
10:44:31
上传
评论
收藏 686KB ZIP 举报
温馨提示
算法和代码片段的多语言集合。_C++_Java_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
算法和代码片段的多语言集合。_C++_Java_下载.zip (705个子文件)
bubbleSort 1KB
roundRobin.c 5KB
infix-to-postfix.c 4KB
Stable_Matching.c 3KB
add2numbers.c 3KB
deluser.c 3KB
priority.c 3KB
shortestJobFirst.c 3KB
firstComeFirstServe.c 3KB
radixSort.c 2KB
bst.c 2KB
QueueUsingTwoStacks.c 2KB
bankersAlgorithm.c 2KB
multiplication.c 2KB
stackUsingLinkedList.c 2KB
difference.c 2KB
sum.c 2KB
BinPacking.c 2KB
stat.c 2KB
SortingAnArrayUsingTwoStacks.c 2KB
heapSort.c 1KB
mergeSort.c 1KB
countingSort.c 1KB
rootsOfQuadraticEquation.c 1KB
interpolationSearch.c 1KB
binarySearch.c 1KB
quickSort.c 1KB
binarySearch.c 1009B
scalerMultiplication.c 989B
grep.c 964B
towerOfHanoi.c 906B
transpose.c 881B
selectionSort.c 869B
add.c 864B
pascalsTriangle.c 863B
area.c 855B
linearSearch.c 853B
bubbleSort.c 840B
insertionSOrt.c 761B
cp.c 731B
display.c 711B
FibonacciSeries.c 687B
SimpleInterestAndAmount.c 684B
fileCopy.c 676B
hello_world.c 676B
wait.c 673B
nthFibonacci.c 671B
leapYearCheckerWithMain.c 654B
factorial.c 651B
factorial.c 648B
write.c 630B
open.c 628B
exec.c 611B
fork.c 609B
primeNumberChecker.c 537B
read.c 516B
isoscelesTrianglesOfStars.c 507B
fileWrite.c 483B
readdir.c 474B
rightTrianglesOfStars.c 442B
fileRead.c 440B
smallestOfThreeNumbers.c 428B
greatestOfThreeNumbers.c 428B
rm.c 415B
leapYearChecker.c 414B
ls.c 381B
isOdd.c 312B
isEven.c 309B
multiplyTwoNumbers.c 280B
comments.c 147B
spoj_bottomcoder_easy.c 122B
.clang-format 5KB
main.cpp 8KB
mathematics_test.cpp 5KB
data_structures_test.cpp 4KB
auto complete.cpp 3KB
INVCNT - Inversion Count.cpp 3KB
COUNTINV - Count inversions in a small array.cpp 3KB
gauss_jordan_elimination.cpp 3KB
prims.cpp 3KB
greedy_iterative_activity_selector.cpp 3KB
ONP - Transform the Expression.cpp 3KB
kruskal.cpp 3KB
find_maximum_subarray.cpp 2KB
max_priority_queue.cpp 2KB
min_priority_queue.cpp 2KB
surrounded_regions.cpp 2KB
max_points_on_a_line.cpp 2KB
main.cpp 2KB
main.cpp 2KB
reverse_nodes_in_k_group.cpp 2KB
the_traveling_postman_problem.cpp 2KB
sorting_algorithms_test.cpp 2KB
MERGSORT - Mergesort.cpp 2KB
determinant.cpp 2KB
longest_common_subsequence.cpp 2KB
median_of_two_sorted_arrays.cpp 2KB
levenshtein_distance_tabulation.cpp 2KB
main.cpp 2KB
flatten_nested_list_iterator.cpp 2KB
共 705 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功