🐈
» Groups » Upwork Engineering » Forum » The Compiler Design Test contain questions ab...
Page options
dmitry-naumov
Community Member

The Compiler Design Test contain questions about LISP ?

I understand what 

"Upwork doesn't make these tests. It licenses them from a third-party vendor.

And Upwork is not a "skills test" website.

" Preston H

But can it at least be renamed to "Compiler Design and Lisp Test" ?

 

 

3 REPLIES 3
snv1985
Community Member

Lisp-like languages are used in several compilers, like GCC, for internal representation. Most compiler students usually start with implementing simpler language, like Forth and Lisp, which are easier to parse than say C++ and immediately provide you with useful primitives, like symbols and lists. Lisp also teaches that you can macroexpand all complex language structures into simple form, made of lambda, if and goto. TLDR: Lisp is the language designer's helloworld.c, so it makes sense to test for it.

snv1985
Community Member

Ooops! Just checked that test. Disregard my previous comment. The test indeed includes irrelevant highly specific Common Lisp questions, regarding rarely used features of that language. I was able to answer them only by googling into CLHS, despite having good amount of Common Lisp experience (I wrote my first compiler in Common Lisp!). Some questions feel too informal, almost like jokes. Other questions don't test the specifics of compiler design, and more about general comp-sci, so they could be moved into separate test. Yet wasted is the opportunity to ask proper questions, like say questions about parsing specific example of SEXP code or compiling the lambda itself into continuation-passing-style.

AveryO
Community Manager
Community Manager

 

Thanks for your feedback, Nikita. I will share this with the team for their consideration.


~ Avery
Upwork